From: Andrew MacIntyre Date: Tue, 2 Dec 2003 12:17:59 +0000 (+0000) Subject: use same compiler switches as core for extensions X-Git-Tag: v2.4a1~1176 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=63ee110cf7907249c3871d98c429d1c7bd5be093;p=thirdparty%2FPython%2Fcpython.git use same compiler switches as core for extensions --- diff --git a/Lib/distutils/emxccompiler.py b/Lib/distutils/emxccompiler.py index 76bdbae506e2..f52e63232db1 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')