mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-09 21:30:34 +00:00
fix gcc/clang build by adding -fpermssive and -Wno-address-of-temporary
This commit is contained in:
parent
3f60034c39
commit
ef28d12d85
2 changed files with 9 additions and 0 deletions
|
@ -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" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue