summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2022-05-18 18:39:43 +0100
committer smf- <smf-@users.noreply.github.com>2022-05-18 18:39:43 +0100
commit33f069cac0605b0062a21d0ab0cda998b17139ad (patch)
tree764b5174c57ec01a5e83676aa1a0eadcd26a7b77
parent1158318356a5724eb8a888026dbada448a029b9b (diff)
fix for building with clang 14 as asmjit uses | & operators on bools [smf]
-rw-r--r--scripts/genie.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 9c02cca4b45..4e615f14f1f 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -1063,6 +1063,11 @@ end
"-Wno-xor-used-as-pow", -- clang 10.0 complains that expressions like 10 ^ 7 look like exponention
}
end
+ if version >= 140000 then
+ buildoptions {
+ "-Wno-bitwise-instead-of-logical", -- clang 14.0 complains about &, | on bools in asmjit
+ }
+ end
else
if version < 70000 then
print("GCC version 7.0 or later needed")