diff options
Diffstat (limited to 'config/darwin.config')
-rw-r--r-- | config/darwin.config | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/config/darwin.config b/config/darwin.config index fdfeada4..211ce6c8 100644 --- a/config/darwin.config +++ b/config/darwin.config @@ -14,17 +14,13 @@ if 'nogi' not in variants: variants.append('gi') if target_arch == Architecture.X86_64: - build='x86_64-apple-darwinx' + build='x86_64-apple-darwin12' elif target_arch == Architecture.X86: - build='i386-apple-darwinx' -elif target_arch == Architecture.PPC: - build='powerpc-apple-darwinx' + build='i386-apple-darwin12' elif target_arch == Architecture.UNIVERSAL: - build='universal-apple-darwinx' + build='universal-apple-darwin12' SDK_VERSION = { - DistroVersion.OS_X_SNOW_LEOPARD: '10.6', - DistroVersion.OS_X_LION: '10.7', DistroVersion.OS_X_MOUNTAIN_LION: '10.8', DistroVersion.OS_X_MAVERICKS: '10.9', DistroVersion.OS_X_YOSEMITE: '10.10', @@ -39,7 +35,7 @@ sdk_root = '/Developer/SDKs/MacOSX%s.sdk' % sdk_version if not os.path.exists(sdk_root): sdk_root = '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX%s.sdk' % sdk_version -min_osx_sdk_version = min_osx_sdk_version or '10.6' +min_osx_sdk_version = min_osx_sdk_version or '10.8' sdk='-mmacosx-version-min=%s -isysroot %s' % (min_osx_sdk_version, sdk_root) for f in ['CFLAGS', 'CCASFLAGS', 'CXXFLAGS', 'OBJCFLAGS', 'LDFLAGS']: @@ -60,13 +56,6 @@ elif target_arch == Architecture.PPC: arch_ldflags += ' -arch ppc -Wl,-arch,ppc' arch_cflags += ' -Wno-error=format-nonliteral ' -if sdk_version in ['10.8', '10.9']: - # silence warnings on clang - arch_cflags += ' -Wno-unused-command-line-argument-hard-error-in-future ' -elif sdk_version in ['10.7']: - # silence warnings on 10.7 osx-universal - arch_cflags += ' -Wno-unused-value ' - incl_dir = os.path.join(prefix, 'include') if not os.path.exists(incl_dir): |