File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ def _gcc_version_less_than(obj, test_version):
211
211
[cc , "-dumpversion" ],
212
212
stdout = subprocess .PIPE ,
213
213
)
214
- ver = LooseVersion (out .stdout .strip (). decode ( "ascii" ) )
214
+ ver = LooseVersion (out .stdout .strip ())
215
215
gcc_version_lt_provided = ver < test_version
216
216
return gcc_version_lt_provided
217
217
@@ -244,7 +244,7 @@ def build_extension(self, ext):
244
244
if _needs_gcc_c99_flag (self ):
245
245
if '-std=c99' not in ext .extra_compile_args :
246
246
ext .extra_compile_args .append ('-std=c99' )
247
- if _is_old_gcc_on_cygwin (self ):
247
+ if _is_old_gcc_on_cygwin (self , ext ):
248
248
if '-ffixed-xmm' not in ext .extra_compile_args :
249
249
ext .extra_compile_args .append (
250
250
'-fno-asynchronous-unwind-tables '
You can’t perform that action at this time.
0 commit comments