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 @@ -258,7 +258,7 @@ def _gcc_version_less_than(obj, test_version):
258
258
[cc , "-dumpversion" ],
259
259
stdout = subprocess .PIPE ,
260
260
)
261
- ver = LooseVersion (out .stdout .strip ())
261
+ ver = LooseVersion (out .stdout .strip (). decode ( "ascii" ) )
262
262
gcc_version_lt_provided = ver < test_version
263
263
return gcc_version_lt_provided
264
264
@@ -291,7 +291,7 @@ def build_extension(self, ext):
291
291
if _is_using_gcc (self ):
292
292
if '-std=c99' not in ext .extra_compile_args :
293
293
ext .extra_compile_args .append ('-std=c99' )
294
- if _is_old_gcc_on_cygwin (self , ext ):
294
+ if _is_old_gcc_on_cygwin (self ):
295
295
if '-ffixed-xmm' not in ext .extra_compile_args :
296
296
ext .extra_compile_args .append (
297
297
'-fno-asynchronous-unwind-tables '
You can’t perform that action at this time.
0 commit comments