summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2018-07-07 11:25:52 +0100
committer smf- <smf-@users.noreply.github.com>2018-07-07 11:28:01 +0100
commitb747b711bb021d0bb550f150e62d3f7dfe6754b2 (patch)
tree3d5f00235a642eda7b0bc4aca35a61bfbf00bb7b /scripts/genie.lua
parent32ee215a388954d6da30bf408f03e724ee1ff96f (diff)
fix building with clang 6.0.1 (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index ed289f73396..096f1195681 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -1017,6 +1017,11 @@ end
"-Wno-ignored-qualifiers"
}
end
+ if (version >= 60000) then
+ buildoptions {
+ "-Wno-pragma-pack" -- clang 6.0 complains when the packing change lifetime is not contained within a header file.
+ }
+ end
else
if (version < 50000) then
print("GCC version 5.0 or later needed")