File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ def __init__ (self,
115115 # bad consequences, like using Py_ModuleInit4 instead of
116116 # Py_ModuleInit4_64, etc... So we add it here
117117 if get_build_architecture () == 'AMD64' :
118- if self .gcc_version < "4." :
118+ if self .gcc_version < "4.0 " :
119119 self .set_executables (
120120 compiler = 'gcc -g -DDEBUG -DMS_WIN64 -mno-cygwin -O0 -Wall' ,
121121 compiler_so = 'gcc -g -DDEBUG -DMS_WIN64 -mno-cygwin -O0 -Wall -Wstrict-prototypes' ,
@@ -135,7 +135,7 @@ def __init__ (self,
135135 linker_exe = 'g++ -mno-cygwin' ,
136136 linker_so = '%s -mno-cygwin -mdll -static %s'
137137 % (self .linker , entry_point ))
138- elif self .gcc_version < "4." :
138+ elif self .gcc_version < "4.0 " :
139139 self .set_executables (compiler = 'gcc -mno-cygwin -O2 -Wall' ,
140140 compiler_so = 'gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes' ,
141141 linker_exe = 'g++ -mno-cygwin' ,
You can’t perform that action at this time.
0 commit comments