From d5650a8d016b8314ab70b0f1a5886094d7135cc9 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Tue, 17 May 2016 09:19:08 -0700 Subject: [PATCH] waf: (fixes #2270) Support -std=c++11 by default --- RELEASE_NOTES | 7 +++++++ wscript | 3 +++ 2 files changed, 10 insertions(+) diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 60cd6461e..92bb49cfb 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -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 diff --git a/wscript b/wscript index 3123e1672..7da436a8d 100644 --- a/wscript +++ b/wscript @@ -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