waf: (fixes #2270) Support -std=c++11 by default

This commit is contained in:
Tom Henderson
2016-05-17 09:19:08 -07:00
parent 12b94e8df0
commit d5650a8d01
2 changed files with 10 additions and 0 deletions

View File

@@ -18,6 +18,13 @@ This release is not yet available.
Supported platforms
-------------------
This release is intended to work on systems with the following minimal
requirements:
- g++-4.8 or later
- clang-3.3 or later
- Python 2.7 (Python 2 series)
- Python 3.4 or later (Python 3 series)
This release has been tested on the following platforms:
New user-visible features

View File

@@ -413,6 +413,9 @@ def configure(conf):
conf.report_optional_feature("static", "Static build", False,
"Link flag -Wl,--whole-archive,-Bstatic does not work")
# Enable C++-11 support
env.append_value('CXXFLAGS', '-std=c++11')
# Set this so that the lists won't be printed at the end of this
# configure command.
conf.env['PRINT_BUILT_MODULES_AT_END'] = False