OSX/scons: remove obsolete compile flags and silence warnings same time
authorJens Verwiebe <info@jensverwiebe.de>
Wed, 6 Nov 2013 15:42:01 +0000 (15:42 +0000)
committerJens Verwiebe <info@jensverwiebe.de>
Wed, 6 Nov 2013 15:42:01 +0000 (15:42 +0000)
build_files/scons/config/darwin-config.py

index 6a00261a8faad4150104c1bbd48d8b5a3be0171c..563009cad7da09cdab255860bcf7ede2aaa6794a 100644 (file)
@@ -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']