diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2013-11-06 19:42:01 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2013-11-06 19:42:01 +0400 |
commit | c81c0859ee0d3a1b6b3dab739dd9acc62772aa10 (patch) | |
tree | e130d709b368f4fca2547b24c72bd9ac47d5e676 | |
parent | 5557332488d03671fdff284c1471668c8da42231 (diff) |
OSX/scons: remove obsolete compile flags and silence warnings same time
-rw-r--r-- | build_files/scons/config/darwin-config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_files/scons/config/darwin-config.py b/build_files/scons/config/darwin-config.py index 6a00261a8fa..563009cad7d 100644 --- a/build_files/scons/config/darwin-config.py +++ b/build_files/scons/config/darwin-config.py @@ -330,7 +330,7 @@ if USE_SDK: if MACOSX_ARCHITECTURE == 'i386' or MACOSX_ARCHITECTURE == 'x86_64': REL_CFLAGS = [] REL_CXXFLAGS = [] - REL_CCFLAGS = ['-DNDEBUG', '-O2','-ftree-vectorize','-msse','-msse2','-msse3','-mfpmath=sse'] + REL_CCFLAGS = ['-DNDEBUG', '-O2','-ftree-vectorize','-msse','-msse2','-msse3'] else: CCFLAGS += ['-fno-strict-aliasing'] REL_CFLAGS = [] @@ -339,7 +339,7 @@ else: # Intel 64bit Macs are Core2Duo and up if MACOSX_ARCHITECTURE == 'x86_64': - REL_CCFLAGS += ['-march=core2','-mssse3','-with-tune=core2','-enable-threads'] + REL_CCFLAGS += ['-march=core2','-mssse3'] CC_WARN = ['-Wall'] C_WARN = ['-Wno-char-subscripts', '-Wpointer-arith', '-Wcast-align', '-Wdeclaration-after-statement', '-Wno-unknown-pragmas', '-Wstrict-prototypes'] |