Bug 1269790 - Bump default MacOS target to 10.7. r?gps
We no longer support MacOS X versions 10.6-10.8. Bumping the
default MACOSX_DEPLOYMENT_TARGET to 10.7 lets us start landing
changes which are incompatible with that SDK.
Moving it to 10.9 must wait until our test infrastructure is
reconfigured to run on later vesions.
MozReview-Commit-ID: B0CcWVOnnv3
--- a/build/moz.configure/toolchain.configure
+++ b/build/moz.configure/toolchain.configure
@@ -70,17 +70,17 @@ def android_ndk_include(compile_env, bui
include(android_ndk_include)
# MacOS deployment target version
# ==============================================================
# This needs to happen before any compilation test is done.
option('--enable-macos-target', env='MACOSX_DEPLOYMENT_TARGET', nargs=1,
- default='10.6', help='Set the minimum MacOS version needed at runtime')
+ default='10.7', help='Set the minimum MacOS version needed at runtime')
@depends('--enable-macos-target', target)
@imports(_from='os', _import='environ')
def macos_target(value, target):
if value and target.os == 'OSX':
# Ensure every compiler process we spawn uses this value.
environ['MACOSX_DEPLOYMENT_TARGET'] = value[0]
return value[0]