Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 63ee110

Browse files
author
Andrew MacIntyre
committed
use same compiler switches as core for extensions
1 parent 70ef869 commit 63ee110

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/distutils/emxccompiler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ def __init__ (self,
6363

6464
# Hard-code GCC because that's what this is all about.
6565
# XXX optimization, warnings etc. should be customizable.
66-
self.set_executables(compiler='gcc -Zomf -Zmt -O2 -Wall',
67-
compiler_so='gcc -Zomf -Zmt -O2 -Wall',
66+
self.set_executables(compiler='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
67+
compiler_so='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
6868
linker_exe='gcc -Zomf -Zmt -Zcrtdll',
6969
linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll')
7070

0 commit comments

Comments
 (0)