osx 10.9 needs c++11 (it's now default and used for the build-stack)

This commit is contained in:
Robin Gareus 2014-05-24 20:09:11 +02:00
parent 1c57dbfb3b
commit 298ce8fdbf

View file

@ -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":