提交 35d3ea25 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Merge pull request #554 from lamblin/win64_compile_flag

Add '-m64' to the compilation line under win64
...@@ -1435,6 +1435,8 @@ class GCC_compiler(object): ...@@ -1435,6 +1435,8 @@ class GCC_compiler(object):
# We need to define MS_WIN64 for the preprocessor to be able to # We need to define MS_WIN64 for the preprocessor to be able to
# link with libpython. # link with libpython.
preargs.append('-DMS_WIN64') preargs.append('-DMS_WIN64')
# We also add "-m64", in case the installed gcc is 32-bit
preargs.append('-m64')
no_opt = False no_opt = False
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论