From 298ce8fdbff7b43f43a2033e22197cf700cc96a5 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 24 May 2014 20:09:11 +0200 Subject: [PATCH] osx 10.9 needs c++11 (it's now default and used for the build-stack) --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 7f3e1a1120..a52dbe3d28 100644 --- a/wscript +++ b/wscript @@ -148,7 +148,7 @@ def set_compiler_flags (conf,opt): # waf adds -O0 -g itself. thanks waf! is_clang = conf.env['CXX'][0].endswith('clang++') - if conf.options.cxx11: + if conf.options.cxx11 or bld.env['build_target'] == 'mavericks': conf.check_cxx(cxxflags=["-std=c++11"]) cxx_flags.append('-std=c++11') if platform == "darwin":