diff options
Diffstat (limited to 'premake5.lua')
-rw-r--r-- | premake5.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua index 2a8e6c93..010810a0 100644 --- a/premake5.lua +++ b/premake5.lua @@ -71,6 +71,13 @@ workspace "reLCS" symbols "Full" staticruntime "off" + -- for CVECTORHACK + configuration { "gmake*" } + buildoptions { "-fpermissive" } + + filter { "platforms:macosx*" } + buildoptions { "-Wno-address-of-temporary" } + if _OPTIONS["with-asan"] then buildoptions { "-fsanitize=address -g3 -fno-omit-frame-pointer" } linkoptions { "-fsanitize=address" } |