summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-02 14:02:42 +0100
committerwithmorten <morten.with@gmail.com>2021-02-02 14:27:21 +0100
commitef28d12d85d65009f1b7f34dd1368a28eaa103ec (patch)
treeeb92fb9e77fb2ca5f7aa7a4c6fb79bdd80d4c4f1 /premake5.lua
parentadd w to CVector; adjust col structs a bit (diff)
downloadre3-ef28d12d85d65009f1b7f34dd1368a28eaa103ec.tar
re3-ef28d12d85d65009f1b7f34dd1368a28eaa103ec.tar.gz
re3-ef28d12d85d65009f1b7f34dd1368a28eaa103ec.tar.bz2
re3-ef28d12d85d65009f1b7f34dd1368a28eaa103ec.tar.lz
re3-ef28d12d85d65009f1b7f34dd1368a28eaa103ec.tar.xz
re3-ef28d12d85d65009f1b7f34dd1368a28eaa103ec.tar.zst
re3-ef28d12d85d65009f1b7f34dd1368a28eaa103ec.zip
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua7
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" }