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