mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
use same compiler switches as core for extensions
This commit is contained in:
parent
70ef8692a1
commit
63ee110cf7
1 changed files with 2 additions and 2 deletions
|
|
@ -63,8 +63,8 @@ class EMXCCompiler (UnixCCompiler):
|
||||||
|
|
||||||
# Hard-code GCC because that's what this is all about.
|
# Hard-code GCC because that's what this is all about.
|
||||||
# XXX optimization, warnings etc. should be customizable.
|
# XXX optimization, warnings etc. should be customizable.
|
||||||
self.set_executables(compiler='gcc -Zomf -Zmt -O2 -Wall',
|
self.set_executables(compiler='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
|
||||||
compiler_so='gcc -Zomf -Zmt -O2 -Wall',
|
compiler_so='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
|
||||||
linker_exe='gcc -Zomf -Zmt -Zcrtdll',
|
linker_exe='gcc -Zomf -Zmt -Zcrtdll',
|
||||||
linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll')
|
linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue