Merge pull request #45291 from RandomShaper/fix_lightmapper_mingw_3.2

Fix crash in lightmapper under MinGW-GCC Windows (3.2)
This commit is contained in:
Rémi Verschelde 2021-01-18 19:40:20 +01:00 committed by GitHub
commit 544f0bfff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,8 @@ env_embree.Append(
if not env_embree.msvc:
env_embree.Append(CPPFLAGS=["-mxsave"])
if env["platform"] == "windows":
env_embree.Append(CPPFLAGS=["-mstackrealign"])
if env["platform"] == "windows":
if env.msvc: