Fix crash in lightmapper under MinGW-GCC Windows

This commit is contained in:
Pedro J. Estébanez 2021-01-18 18:28:11 +01:00
parent e25984a745
commit 89237c8952

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: