Force libc++

pull/586/head
Nils Maier 2016-03-03 04:00:33 +01:00
parent 99e7d98193
commit 981597bc54
1 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ endif
# Set up compiler. # Set up compiler.
CC = cc CC = cc
export CC export CC
CXX = c++ CXX = c++ -stdlib=libc++
export CXX export CXX
# Set up compiler/linker flags. # Set up compiler/linker flags.
@ -308,7 +308,7 @@ $(1).%.build: $(1).stamp
--prefix=$$(PWD)/$$(ARCH) \ --prefix=$$(PWD)/$$(ARCH) \
$$($(1)_confflags) $$($(1)_confflags_$$(ARCH)) \ $$($(1)_confflags) $$($(1)_confflags_$$(ARCH)) \
CFLAGS="$$(CFLAGS) $$($(1)_cflags) -arch $$(ARCH)" \ CFLAGS="$$(CFLAGS) $$($(1)_cflags) -arch $$(ARCH)" \
CXXFLAGS="$$(CXXFLAGS) $$($(1)_cxxflags) -arch $$(ARCH) -stdlib=libc++ -std=c++11" \ CXXFLAGS="$$(CXXFLAGS) $$($(1)_cxxflags) -arch $$(ARCH) -std=c++11" \
LDFLAGS="$(LDFLAGS) $$($(1)_ldflags)" \ LDFLAGS="$(LDFLAGS) $$($(1)_ldflags)" \
) )
$$(MAKE) -C $$(DEST) -sj$(CPUS) $$(MAKE) -C $$(DEST) -sj$(CPUS)