提交 46f8a271 authored 作者: David Warde-Farley's avatar David Warde-Farley

Merge pull request #478 from delallea/win_py24

Fixes for Python 2.4
...@@ -1312,7 +1312,7 @@ def gcc_version(): ...@@ -1312,7 +1312,7 @@ def gcc_version():
return gcc_version_str return gcc_version_str
class GCC_compiler(): class GCC_compiler(object):
@staticmethod @staticmethod
def compile_args(): def compile_args():
cxxflags = [flag for flag in config.gcc.cxxflags.split(' ') if flag] cxxflags = [flag for flag in config.gcc.cxxflags.split(' ') if flag]
......
...@@ -74,7 +74,7 @@ def add_standard_rpath(rpath): ...@@ -74,7 +74,7 @@ def add_standard_rpath(rpath):
rpath_defaults.append(rpath) rpath_defaults.append(rpath)
class NVCC_compiler(): class NVCC_compiler(object):
@staticmethod @staticmethod
def compile_args(): def compile_args():
""" """
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论