From: Jaewon Lim Date: Thu, 10 Nov 2016 04:48:29 +0000 (+0900) Subject: Revert "Revert "change C++ compiler for MacOSX"" X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae7559a7669eedec30f1ac3343ca3e96f697b741;p=sdk%2Ftools%2Fsdb.git Revert "Revert "change C++ compiler for MacOSX"" This reverts commit 25b33239d9bd91a014dd64b3f2572728f72269ee. Change-Id: Id3ac7e642f8e2ba4661c408b144868e9d721e3c2 --- diff --git a/Makefile b/Makefile index d9044f2..ab4eb7f 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ ENCLIB_LFLAGS := ./SPC/gcc/build/linux/libPAKEClient.a ifeq ($(HOST_OS),darwin) CC := clang + CXX := clang++ endif # ifeq ($(HOST_OS),linux) @@ -33,7 +34,7 @@ ifeq ($(HOST_OS),darwin) LOCAL_USB_SRC := src/usb_darwin.c LOCAL_UTIL_SRC := src/utils_unix.c LOCAL_OTHER_SRC := src/fdevent.c src/fdevent_unix.c src/auto_complete.c - LOCAL_LFLAGS := -lpthread -lcrypto -framework CoreFoundation -framework IOKit -framework Carbon + LOCAL_LFLAGS := -stdlib=libstdc++ -lpthread -lcrypto -framework CoreFoundation -framework IOKit -framework Carbon LOCAL_CFLAGS := -DOS_DARWIN -DHAVE_FORKEXEC -DHAVE_SYMLINKS -mmacosx-version-min=10.4 -DSDB_HOST=1 -DSDB_HOST_ON_TARGET=1 endif