From e7e60cb541d6bb03e706dc6718929275247214b0 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 13 Dec 2013 06:23:03 -0800 Subject: [PATCH] Revert "don't set -stdlib in CXXGLAGS" This reverts commit 62c06eabcc18cfb8a63ee764ccbe4d86bb90eefc. --- SConstruct | 1 + 1 file changed, 1 insertion(+) diff --git a/SConstruct b/SConstruct index 7108350a7..0dd75f130 100644 --- a/SConstruct +++ b/SConstruct @@ -1160,6 +1160,7 @@ if not preconfigured: # set any custom cxxflags and ldflags to come first if sys.platform == 'darwin' and not env['HOST']: + DEFAULT_CXX11_CXXFLAGS += ' -stdlib=libc++' DEFAULT_CXX11_LINKFLAGS = ' -stdlib=libc++' env.Append(CPPDEFINES = env['CUSTOM_DEFINES']) env.Append(CXXFLAGS = DEFAULT_CXX11_CXXFLAGS)