summaryrefslogtreecommitdiffstats
path: root/scripts/src/3rdparty.lua
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2022-05-04 12:18:25 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2022-05-04 12:18:25 +1000
commit4c704a6f3e762f3fe7492b13b91b55b5fbe11e48 (patch)
treedc2c433c11edb3f7dbe7c3b9388b43c68c57a4a6 /scripts/src/3rdparty.lua
parent38d57862cf13d032ca97793494b6b1bd3afe55ba (diff)
parenta8fe401275a2d1030193abdfc413fcc019bbe742 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'scripts/src/3rdparty.lua')
-rw-r--r--scripts/src/3rdparty.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua
index 0c6c03663f6..59c3f1b720b 100644
--- a/scripts/src/3rdparty.lua
+++ b/scripts/src/3rdparty.lua
@@ -2234,6 +2234,13 @@ project "asmjit"
uuid "4539757c-6e99-4bae-b3d0-b342a7c49539"
kind "StaticLib"
+ configuration { "gmake or ninja" }
+ if (_OPTIONS["gcc"] ~= nil) and (not string.find(_OPTIONS["gcc"], "clang")) and (str_to_version(_OPTIONS["gcc_version"]) < 80000) then
+ buildoptions {
+ "-Wno-maybe-uninitialized",
+ }
+ end
+
configuration { }
if _OPTIONS["targetos"]=="macosx" and _OPTIONS["gcc"]~=nil then