From 8c9fb83cc847c2671cfd7303c9653b522ecb16db Mon Sep 17 00:00:00 2001 From: Dennis Brakhane Date: Sat, 29 Nov 2025 10:03:20 +0100 Subject: [PATCH] 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 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4dfba22fc..2f4eec8bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -140,9 +140,9 @@ else() # security checks disabled in Release: $<$:-fno-stack-protector> $<$:-fcf-protection=none> - $<$,$>>:-fno-stack-clash-protection> + $<$,$>>:-fno-stack-clash-protection> # not supported on Windows $<$:-fno-stack-check> - $<$:-fno-asynchronous-unwind-tables> + $<$,$>>:-fno-asynchronous-unwind-tables> # seems to crash LUA evaluation on Windows ) endif()