summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-05-24 20:09:11 +0200
committerRobin Gareus <robin@gareus.org>2014-05-24 20:10:14 +0200
commit298ce8fdbff7b43f43a2033e22197cf700cc96a5 (patch)
treede0f2ae5c41e86de70d961e9f8a06780789d7615 /wscript
parent1c57dbfb3b3df0b6d5d5ec1b20372e354a45083f (diff)
osx 10.9 needs c++11 (it's now default and used for the build-stack)
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
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":