]> granicus.if.org Git - python/commitdiff
use same compiler switches as core for extensions
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>
Tue, 2 Dec 2003 12:17:59 +0000 (12:17 +0000)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>
Tue, 2 Dec 2003 12:17:59 +0000 (12:17 +0000)
Lib/distutils/emxccompiler.py

index 76bdbae506e2379e370bd01ba890f38952c0b3fd..f52e63232db1afa9b14ee4a074d57c2a004b2b3d 100644 (file)
@@ -63,8 +63,8 @@ class EMXCCompiler (UnixCCompiler):
 
         # Hard-code GCC because that's what this is all about.
         # XXX optimization, warnings etc. should be customizable.
-        self.set_executables(compiler='gcc -Zomf -Zmt -O2 -Wall',
-                             compiler_so='gcc -Zomf -Zmt -O2 -Wall',
+        self.set_executables(compiler='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
+                             compiler_so='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
                              linker_exe='gcc -Zomf -Zmt -Zcrtdll',
                              linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll')