mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
osx makefile libc++ change for c++11
This commit is contained in:
parent
dc6ccd8b73
commit
8d5de70969
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ ifeq ($(OS),Darwin)
|
|||
SDKROOT ?= $(SDK_DIR)/MacOSX10.8.sdk
|
||||
|
||||
ARCH_FLAGS ?= -arch i386 -m32 -march=prescott -gdwarf-2 -g2 -Wno-typedef-redefinition -momit-leaf-frame-pointer -mtune=core2
|
||||
CPP_LIB=-lstdc++ -lpthread
|
||||
CPP_LIB=-stdlib=libc++ -lpthread
|
||||
|
||||
ifeq ($(origin AR), default)
|
||||
AR = libtool -static -o
|
||||
|
|
|
@ -31,7 +31,7 @@ UTIL_INCLUDEDIRS = -I../ -I../util
|
|||
TEXTREP_INCLUDEDIRS=..
|
||||
|
||||
ifeq ($(OS),Darwin)
|
||||
LDFLAGS=-lm -lcurl -lstdc++ -L. libparticleMP.a
|
||||
LDFLAGS=-lm -lcurl -stdlib=libc++ -L. libparticleMP.a
|
||||
else
|
||||
LDFLAGS=-lm -lcurl -lstdc++ -L. libparticleMP.a
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue