13
0

fix OSX El Capitan builds

This commit is contained in:
Robin Gareus 2016-03-02 10:59:22 +01:00
parent c4f19a66d9
commit a47efed9e3

View File

@ -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