Skip to content

Commit

Permalink
--sse3 doesn't work on MSVC, so don't let people use it
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 authored and jacob1 committed Feb 24, 2018
1 parent d7e26e8 commit a435b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SConscript
Expand Up @@ -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'])
Expand Down

0 comments on commit a435b5f

Please sign in to comment.