From a47efed9e32b240b8685133f30dbe7d79c8ef801 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 2 Mar 2016 10:59:22 +0100 Subject: fix OSX El Capitan builds --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 98a7609290..3b77f156c1 100644 --- a/wscript +++ b/wscript @@ -405,7 +405,7 @@ int main() { return 0; }''', # from requiring a full path to requiring just the header name. cxx_flags.append('-DCARBON_FLAT_HEADERS') - if not opt.use_libcpp: + if not opt.use_libcpp and not conf.env['build_host'] in [ 'el_capitan' ]: cxx_flags.append('--stdlib=libstdc++') linker_flags.append('--stdlib=libstdc++') # Prevents visibility issues in standard headers -- cgit v1.2.3