fix win32 problems with rt
This commit is contained in:
parent
7b39f7adf5
commit
70497c074e
1
setup.py
1
setup.py
|
@ -164,6 +164,7 @@ if not OS == "win":
|
||||||
sysconfig.get_config_vars()["OPT"] = ' '.join(cv_opt.split())
|
sysconfig.get_config_vars()["OPT"] = ' '.join(cv_opt.split())
|
||||||
else:
|
else:
|
||||||
EXTRA_COMPILE_ARGS = [ '-O2', '-DBOOST_WINDOWS',
|
EXTRA_COMPILE_ARGS = [ '-O2', '-DBOOST_WINDOWS',
|
||||||
|
'-fno-strict-aliasing',
|
||||||
'-Wno-missing-braces',
|
'-Wno-missing-braces',
|
||||||
'-DWIN32_LEAN_AND_MEAN',
|
'-DWIN32_LEAN_AND_MEAN',
|
||||||
'-D_WIN32_WINNT=0x0500',
|
'-D_WIN32_WINNT=0x0500',
|
||||||
|
|
Loading…
Reference in New Issue