workaroud lua crash on win-clang (#1338)

No idea what's happening yet and is probably not the correct way to fix it,
but it works for now
This commit is contained in:
Dennis Brakhane
2025-11-29 10:03:20 +01:00
committed by GitHub
parent 32fbee5613
commit 8c9fb83cc8
+2 -2
View File
@@ -140,9 +140,9 @@ else()
# security checks disabled in Release:
$<$<CONFIG:Release>:-fno-stack-protector>
$<$<CONFIG:Release>:-fcf-protection=none>
$<$<AND:$<CONFIG:Release>,$<NOT:$<PLATFORM_ID:Windows>>>:-fno-stack-clash-protection>
$<$<AND:$<CONFIG:Release>,$<NOT:$<PLATFORM_ID:Windows>>>:-fno-stack-clash-protection> # not supported on Windows
$<$<CONFIG:Release>:-fno-stack-check>
$<$<CONFIG:Release>:-fno-asynchronous-unwind-tables>
$<$<AND:$<CONFIG:Release>,$<NOT:$<PLATFORM_ID:Windows>>>:-fno-asynchronous-unwind-tables> # seems to crash LUA evaluation on Windows
)
endif()