Mac build fix
[WebKit.git] / Source / ThirdParty / ANGLE / Configurations / Base.xcconfig
1 #include "CompilerVersion.xcconfig"
2
3 DEAD_CODE_STRIPPING = YES;
4 DEBUG_INFORMATION_FORMAT = dwarf;
5 GCC_C_LANGUAGE_STANDARD = gnu99;
6 GCC_DEBUGGING_SYMBOLS = default;
7 GCC_ENABLE_CPP_EXCEPTIONS = NO;
8 GCC_ENABLE_CPP_RTTI = NO;
9 GCC_ENABLE_OBJC_EXCEPTIONS = YES;
10 GCC_ENABLE_OBJC_GC = supported;
11 GCC_ENABLE_SYMBOL_SEPARATION = NO;
12 GCC_FAST_OBJC_DISPATCH = YES;
13 GCC_MODEL_TUNING = G5;
14 GCC_OBJC_CALL_CXX_CDTORS = YES;
15 GCC_OPTIMIZATION_LEVEL = s;
16 GCC_PRECOMPILE_PREFIX_HEADER = NO;
17 GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
18 GCC_SYMBOLS_PRIVATE_EXTERN = NO;
19 GCC_THREADSAFE_STATICS = NO;
20 GCC_TREAT_WARNINGS_AS_ERRORS = YES;
21 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
22 GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
23 LINKER_DISPLAYS_MANGLED_NAMES = YES;
24 PREBINDING = NO;
25 STRIP_INSTALLED_PRODUCT = NO;
26
27
28 REAL_PLATFORM_NAME = $(REAL_PLATFORM_NAME_$(PLATFORM_NAME));
29 REAL_PLATFORM_NAME_ = $(REAL_PLATFORM_NAME_macosx);
30 REAL_PLATFORM_NAME_iphoneos = iphoneos;
31 REAL_PLATFORM_NAME_iphonesimulator = iphonesimulator;
32 REAL_PLATFORM_NAME_macosx = macosx;
33
34 TARGET_MAC_OS_X_VERSION_MAJOR = $(MAC_OS_X_VERSION_MAJOR);
35
36 // If the target Mac OS X version does not match the current Mac OS X version then we'll want to build using the target version's SDK.
37 SDKROOT = $(SDKROOT_$(MAC_OS_X_VERSION_MAJOR)_$(TARGET_MAC_OS_X_VERSION_MAJOR));
38 SDKROOT_1060_1050 = macosx10.5;
39 SDKROOT_1070_1050 = macosx10.5;
40 SDKROOT_1080_1050 = macosx10.5;
41 SDKROOT_1090_1050 = macosx10.5;
42 SDKROOT_1070_1060 = macosx10.6;
43 SDKROOT_1080_1060 = macosx10.6;
44 SDKROOT_1090_1060 = macosx10.6;
45 SDKROOT_1080_1070 = macosx10.7;
46 SDKROOT_1090_1070 = macosx10.7;
47 SDKROOT_1090_1080 = macosx10.8;