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
This commit is contained in:
parent
edf28762a0
commit
e301c7ca61
2
wscript
2
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)
|
||||
|
Loading…
Reference in New Issue
Block a user