Changed: Only compile with libc++ in C++
This commit is contained in:
parent
aead758a0c
commit
ac4df3b65a
1 changed files with 3 additions and 3 deletions
|
@ -840,9 +840,9 @@ MACRO(NL_SETUP_BUILD)
|
||||||
|
|
||||||
# use libc++ under OX X to be able to use new C++ features (and else it'll use GCC 4.2.1 STL)
|
# use libc++ under OX X to be able to use new C++ features (and else it'll use GCC 4.2.1 STL)
|
||||||
# minimum target is now OS X 10.7
|
# minimum target is now OS X 10.7
|
||||||
ADD_PLATFORM_FLAGS("-stdlib=libc++")
|
SET(PLATFORM_CXXFLAGS "${PLATFORM_CXXFLAGS} -stdlib=libc++")
|
||||||
|
|
||||||
SET(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -Wl,-headerpad_max_install_names")
|
ADD_PLATFORM_LINKFLAGS("-Wl,-headerpad_max_install_names")
|
||||||
|
|
||||||
IF(HAVE_FLAG_SEARCH_PATHS_FIRST)
|
IF(HAVE_FLAG_SEARCH_PATHS_FIRST)
|
||||||
ADD_PLATFORM_LINKFLAGS("-Wl,-search_paths_first")
|
ADD_PLATFORM_LINKFLAGS("-Wl,-search_paths_first")
|
||||||
|
|
Loading…
Reference in a new issue