Commit 9b79874b authored by Dr.李's avatar Dr.李

fixed linux bug

parent 7b72cb5a
This diff is collapsed.
......@@ -42,7 +42,8 @@ def generate_extensions(ext_modules, line_trace=False):
for pyxfile in ext_modules:
ext = Extension(name='.'.join(pyxfile.split('/'))[:-4],
sources=[pyxfile],
define_macros=define_macros)
define_macros=define_macros,
extra_compile_args=['-std=c++11'])
extensions.append(ext)
return extensions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment