diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-05-22 18:33:01 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-29 14:18:15 -0400 |
commit | 5d45ccf9707046318fdfb37158d60ed070360c1c (patch) | |
tree | ecb200554159e7d8d38d4e4931430e0ee5ac46b1 /wscript | |
parent | a9e84cee27ee3ecb5d038b1b8fb9a5f731b6e1f8 (diff) |
Revert "experimentally remove some C++11 flags (likely to return)"
This reverts commit a27ad61695053fc18a9630dd9e7c2418416ba915.
This was not a fix for the problem it was an attempt to fix.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -375,14 +375,14 @@ int main() { return 0; }''', compiler_flags.append ('-U__STRICT_ANSI__') if conf.options.cxx11 or conf.env['build_host'] in [ 'mavericks', 'yosemite' ]: - # conf.check_cxx(cxxflags=["-std=c++11"]) - # cxx_flags.append('-std=c++11') + conf.check_cxx(cxxflags=["-std=c++11"]) + cxx_flags.append('-std=c++11') if platform == "darwin": - # cxx_flags.append('--stdlib=libstdc++') + cxx_flags.append('--stdlib=libstdc++') # Mavericks and later changed the syntax to be used when including Carbon headers, # from requiring a full path to requiring just the header name. cxx_flags.append('-DCARBON_FLAT_HEADERS') - # linker_flags.append('--stdlib=libstdc++') + linker_flags.append('--stdlib=libstdc++') # Prevents visibility issues in standard headers conf.define("_DARWIN_C_SOURCE", 1) |