Permalink
Browse files

--sse3 doesn't work on MSVC, so don't let people use it

  • Loading branch information...
wolfy1339 authored and jacob1 committed Feb 16, 2018
1 parent d7e26e8 commit a435b5f7b9425826c42c64cf86df0db5c8e24151
Showing with 1 addition and 1 deletion.
  1. +1 −1 SConscript
@@ -447,7 +447,7 @@ if not GetOption('no-sse'):
env.Append(CPPDEFINES=['X86_SSE2'])
if GetOption('sse3'):
if msvc:
env.Append(CCFLAGS=['/arch:SSE3'])
FatalError("--sse3 doesn't work with --msvc")
else:
env.Append(CCFLAGS=['-msse3'])
env.Append(CPPDEFINES=['X86_SSE3'])

0 comments on commit a435b5f

Please sign in to comment.