summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-03-08 04:11:54 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2013-03-08 04:11:54 +0000
commite301c7ca61fc51eeb19d8f82948bad807148c7ee (patch)
tree5b840ad14363cb07117dcfe93244aef03b71b31f
parentedf28762a050f850d1cbe0bd4bcc7a7fe950b4cc (diff)
include min OS X spec in CXXFLAGS as well as CFLAGS
git-svn-id: svn://localhost/ardour2/branches/3.0@14184 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript b/wscript
index 54e9f075d9..0bac1ebfe3 100644
--- a/wscript
+++ b/wscript
@@ -289,9 +289,11 @@ def set_compiler_flags (conf,opt):
# back to 10.1 if we don't tell it otherwise.
conf.env.append_value('CFLAGS', "-DMAC_OS_X_VERSION_MIN_REQUIRED=1040")
+ conf.env.append_value('CXXFLAGS', "-DMAC_OS_X_VERSION_MIN_REQUIRED=1040")
elif conf.env['build_target'] in [ 'lion', 'mountainlion' ]:
conf.env.append_value('CFLAGS', "-DMAC_OS_X_VERSION_MIN_REQUIRED=1070")
+ conf.env.append_value('CXXFLAGS', "-DMAC_OS_X_VERSION_MIN_REQUIRED=1070")
else:
conf.define ('IS_OSX', 0)