Add -mno-fused-madd to the mac builds.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/newnet@10208 4a71c877-e1ca-e34f-864e-861f7616d084
master
dak180 2010-03-09 19:46:29 +00:00 committed by Git SVN Gateway
parent fabd5716f1
commit b05f229416
1 changed files with 9 additions and 5 deletions

View File

@ -15,10 +15,10 @@ HEADER_SEARCH_PATHS = .. $(inherited)
LIBRARY_SEARCH_PATHS = $(inherited) $(LIBRARY_SEARCH_PATHS_QUOTED_1)
GCC_ENABLE_SSE3_EXTENSIONS[arch=i386] = YES // -msse3 intel 32 bit only
GCC_MODEL_TUNING = G5
OTHER_CFLAGS = -Wno-pointer-to-int-cast -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement $(inherited) // Warning flags that c++ does not like
OTHER_CFLAGS[arch=i386] = -mfpmath=sse $(inherited) // intel 32 bit only
OTHER_CPLUSPLUSFLAGS =
OTHER_CPLUSPLUSFLAGS[arch=i386] = -mfpmath=sse $(inherited) // intel 32 bit only
OTHER_CFLAGS = $(FlagsForCandCpp) -Wno-pointer-to-int-cast -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement $(inherited) // Warning flags that c++ does not like
OTHER_CFLAGS[arch=i386] = $(inherited) // intel 32 bit only
OTHER_CPLUSPLUSFLAGS = $(FlagsForCandCpp)
OTHER_CPLUSPLUSFLAGS[arch=i386] = $(inherited) // intel 32 bit only
GCC_PRECOMPILE_PREFIX_HEADER = YES
GCC_PREFIX_HEADER =
@ -35,4 +35,8 @@ FRAMEWORK_SEARCH_PATHS_QUOTED_1 = "$(SYSTEM_DEVELOPER_DIR)/SDKs/MacOSX10.4u.sdk/
FRAMEWORK_SEARCH_PATHS_QUOTED_2 = "$(SRCROOT)/build/$(CONFIGURATION)"
FRAMEWORK_SEARCH_PATHS_QUOTED_3 = "$(SYSTEM_DEVELOPER_DIR)/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks"
FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "$(SRCROOT)/external/SDL"
LIBRARY_SEARCH_PATHS_QUOTED_1 = "$(SRCROOT)/build/$(CONFIGURATION)"
LIBRARY_SEARCH_PATHS_QUOTED_1 = "$(SRCROOT)/build/$(CONFIGURATION)"
// Additional build flags for both c and c++ files
FlagsForCandCpp = -mno-fused-madd
FlagsForCandCpp[arch=i386] = -mfpmath=sse $(inherited) // Flags for intel 32 bit only