mirror of
https://github.com/halpz/re3.git
synced 2025-07-29 20:20:24 +00:00
fix gcc/clang build by adding -fpermssive and -Wno-address-of-temporary
This commit is contained in:
@ -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" }
|
||||
|
Reference in New Issue
Block a user