15bbbea409a48ab719985b081081aea2f4340622
[WebKit-https.git] / JavaScriptGlue / Configurations / Base.xcconfig
1 DEAD_CODE_STRIPPING = YES;
2 DEBUG_INFORMATION_FORMAT = dwarf;
3 GCC_C_LANGUAGE_STANDARD = gnu99;
4 GCC_DEBUGGING_SYMBOLS = default;
5 GCC_DYNAMIC_NO_PIC = NO;
6 GCC_STRICT_ALIASING = YES;
7 GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
8 GCC_ENABLE_CPP_EXCEPTIONS = NO;
9 GCC_ENABLE_CPP_RTTI = NO;
10 GCC_ENABLE_OBJC_EXCEPTIONS = YES;
11 GCC_ENABLE_OBJC_GC = supported;
12 GCC_ENABLE_SYMBOL_SEPARATION = NO;
13 GCC_FAST_OBJC_DISPATCH = YES;
14 GCC_MODEL_TUNING = G5;
15 GCC_OPTIMIZATION_LEVEL = 2;
16 GCC_PRECOMPILE_PREFIX_HEADER = YES;
17 GCC_THREADSAFE_STATICS = NO;
18 GCC_TREAT_WARNINGS_AS_ERRORS = YES;
19 GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
20 GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
21 GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES;
22 LINKER_DISPLAYS_MANGLED_NAMES = YES;
23 PREBINDING = NO;
24 VALID_ARCHS = i386 ppc x86_64 ppc64;
25 WARNING_CFLAGS = $(WARNING_CFLAGS_$(CURRENT_ARCH));
26 WARNING_CFLAGS_BASE = -Wall -W -Wcast-align -Wchar-subscripts -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-format-y2k -Wno-unused-parameter -Wundef -Wno-strict-aliasing;
27 WARNING_CFLAGS_ = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32;
28 WARNING_CFLAGS_i386 = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32;
29 WARNING_CFLAGS_ppc = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32;
30 // FIXME: JavaScriptGlue 64-bit builds should build with -Wshorten-64-to-32
31 WARNING_CFLAGS_ppc64 = $(WARNING_CFLAGS_BASE);
32 WARNING_CFLAGS_x86_64 = $(WARNING_CFLAGS_BASE);
33
34
35 // <rdar://problem/5488678>: Production builds on 10.4 PowerPC need to have debugging symbols disabled to prevent a huge STABS section being generated.
36 //                           Xcode on 10.4 does not define MAC_OS_X_VERSION_MAJOR, so the default Mac OS X version is treated as 10.4.
37 GCC_GENERATE_DEBUGGING_SYMBOLS = $(GCC_GENERATE_DEBUGGING_SYMBOLS_$(CURRENT_ARCH));
38 GCC_GENERATE_DEBUGGING_SYMBOLS_i386 = YES;
39 GCC_GENERATE_DEBUGGING_SYMBOLS_ppc = $(GCC_GENERATE_DEBUGGING_SYMBOLS_$(CURRENT_ARCH)_$(CONFIGURATION));
40 GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Debug = YES;
41 GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Release = YES;
42 GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Production = $(GCC_GENERATE_DEBUGGING_SYMBOLS_$(CURRENT_ARCH)_$(CONFIGURATION)_$(MAC_OS_X_VERSION_MAJOR));
43 GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Production_ = NO;
44 GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Production_1040 = NO;
45 GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Production_1050 = YES;