提交 02a966c3 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Fixes for Python 2.4

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