Cocoa Port:

- Use Relax IEEE Compliance (-ffast-math) optimization for all builds on all projects.
- Use Enforce Strict Aliasing (-fstrict-aliasing) optimization for all Debug builds on the Xcode 3 and Legacy projects.
This commit is contained in:
rogerman 2013-06-19 02:47:45 +00:00
parent c1cfbe4556
commit cf9a25a8ba
3 changed files with 8 additions and 0 deletions

View File

@ -3878,6 +3878,7 @@
GCC_ALTIVEC_EXTENSIONS = YES;
GCC_DYNAMIC_NO_PIC = YES;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_FAST_MATH = YES;
GCC_FAST_OBJC_DISPATCH = NO;
GCC_MODEL_TUNING = "";
"GCC_MODEL_TUNING[sdk=macosx10.4][arch=ppc]" = G4;
@ -3890,6 +3891,7 @@
_DEBUG,
"DEBUG=1",
);
GCC_STRICT_ALIASING = YES;
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
"GCC_VERSION[sdk=macosx10.5][arch=ppc64]" = 4.2;
@ -3922,6 +3924,7 @@
GCC_ENABLE_SSE3_EXTENSIONS = YES;
GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS = YES;
"GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS[arch=i386]" = NO;
GCC_FAST_MATH = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
GCC_MODEL_TUNING = "";

View File

@ -3829,6 +3829,7 @@
GCC_ALTIVEC_EXTENSIONS = YES;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_FAST_MATH = YES;
GCC_FAST_OBJC_DISPATCH = NO;
GCC_MODEL_TUNING = "";
"GCC_MODEL_TUNING[sdk=macosx10.4][arch=ppc]" = G4;
@ -3841,6 +3842,7 @@
_DEBUG,
"DEBUG=1",
);
GCC_STRICT_ALIASING = YES;
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_THREADSAFE_STATICS = NO;
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES;
@ -3881,6 +3883,7 @@
GCC_ENABLE_SSE3_EXTENSIONS = YES;
GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS = YES;
"GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS[arch=i386]" = NO;
GCC_FAST_MATH = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
"GCC_MODEL_PPC64[sdk=macosx10.5][arch=ppc64]" = YES;

View File

@ -2733,6 +2733,7 @@
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_DYNAMIC_NO_PIC = NO;
GCC_FAST_MATH = YES;
GCC_FAST_OBJC_DISPATCH = NO;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
@ -2777,6 +2778,7 @@
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = YES;
GCC_DYNAMIC_NO_PIC = YES;
GCC_FAST_MATH = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
GCC_OPTIMIZATION_LEVEL = 3;