Applied compile and link flags from SCons build for OS X to CMake build.

The following changes were made:
Restricted the "-march=core2" option to i386 because the first Intel Macs
had Intel Core CPUs, not Core2.
Removed the "-mdynamic-no-pic" flag as GCC lists it as a PPC specific flag.
Removed "-Wl,-read_only_relocs,suppress" because it seems to be related
to "-mdynamic-no-pic" and I see no need for it.
Removed "-Wextra-tokens -Wnewline-eof" because they are GCC specific and
not OS X specific.
This commit is contained in:
Maarten ter Huurne
2011-12-11 21:27:06 +01:00
parent 9ede977a56
commit 344ca5d360
2 changed files with 37 additions and 2 deletions

View File

@ -54,7 +54,7 @@
<key>NSHumanReadableCopyright</key>
<string>Licensed under GPL version 2</string>
<key>LSMinimumSystemVersion</key>
<string>10.5.4</string>
<string>${OSX_MIN_VERSION}</string>
<key>LSRequiresCarbon</key>
<true/>
<key>CSResourcesFileMapped</key>