diff options
Diffstat (limited to 'intern/cycles/SConscript')
-rw-r--r-- | intern/cycles/SConscript | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/SConscript b/intern/cycles/SConscript index 34c6e8df2fd..03880bddd8a 100644 --- a/intern/cycles/SConscript +++ b/intern/cycles/SConscript @@ -46,8 +46,10 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', ' if env['WITH_BF_RAYOPTIMIZATION']: optim_cxxflags = [] - if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'): + if env['OURPLATFORM'] == 'win32-vc': optim_cxxflags.append('/arch:SSE2 -D_CRT_SECURE_NO_WARNINGS /fp:fast /EHsc'.split()) + elif env['OURPLATFORM'] == 'win64-vc': + optim_cxxflags.append('-D_CRT_SECURE_NO_WARNINGS /fp:fast /EHsc'.split()) else: optim_cxxflags.append('-ffast-math -msse -msse2 -msse3 -mfpmath=sse'.split()) |