Merge pull request #47319 from akien-mga/3.x-embree-msvc-msse2

SCons: Don't pass -msse2 to MSVC for Embree
This commit is contained in:
Rémi Verschelde 2021-03-24 13:38:04 +01:00 committed by GitHub
commit ed1f5c29be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,6 @@ env_embree.Append(
CPPFLAGS=[
"-DEMBREE_TARGET_SSE2",
"-DEMBREE_LOWEST_ISA",
"-msse2",
"-DTASKING_INTERNAL",
"-DNDEBUG",
"-D__SSE2__",
@ -76,7 +75,7 @@ env_embree.Append(
)
if not env_embree.msvc:
env_embree.Append(CPPFLAGS=["-mxsave"])
env_embree.Append(CPPFLAGS=["-msse2", "-mxsave"])
if env["platform"] == "windows":
env_embree.Append(CPPFLAGS=["-mstackrealign"])