summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-05-22 18:33:01 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-29 14:18:15 -0400
commit5d45ccf9707046318fdfb37158d60ed070360c1c (patch)
treeecb200554159e7d8d38d4e4931430e0ee5ac46b1 /wscript
parenta9e84cee27ee3ecb5d038b1b8fb9a5f731b6e1f8 (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--wscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/wscript b/wscript
index e1a96cddaf..c9c0e41210 100644
--- a/wscript
+++ b/wscript
@@ -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)