diff options
author | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2003-12-02 12:17:59 (GMT) |
---|---|---|
committer | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2003-12-02 12:17:59 (GMT) |
commit | 63ee110cf7907249c3871d98c429d1c7bd5be093 (patch) | |
tree | a27eb42663cceb512ec92d4aa2ba3d93c424863b /Lib | |
parent | 70ef8692a193a70dfd49610f725cb23c14b32fe3 (diff) | |
download | cpython-63ee110cf7907249c3871d98c429d1c7bd5be093.zip cpython-63ee110cf7907249c3871d98c429d1c7bd5be093.tar.gz cpython-63ee110cf7907249c3871d98c429d1c7bd5be093.tar.bz2 |
use same compiler switches as core for extensions
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/emxccompiler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/emxccompiler.py b/Lib/distutils/emxccompiler.py index 76bdbae..f52e632 100644 --- a/Lib/distutils/emxccompiler.py +++ b/Lib/distutils/emxccompiler.py @@ -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') |