diff --git a/scripts/genie.lua b/scripts/genie.lua index 4665349c98f..e02c29ec3e7 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1082,7 +1082,7 @@ end "-Wno-pragma-pack" -- clang 6.0 complains when the packing change lifetime is not contained within a header file. } end - if (version >= 100000) and (_OPTIONS["targetos"] ~= 'macosx') then -- TODO when Xcode includes clang 10, update this to detect the vanity version number + if ((version >= 100000) and (_OPTIONS["targetos"] ~= 'macosx')) or (version >= 120000) then buildoptions { "-Wno-xor-used-as-pow " -- clang 10.0 complains that expressions like 10 ^ 7 look like exponention }