summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index d7f2c3d08c4..632001027d1 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -407,10 +407,12 @@ configuration { }
}
end
else
- buildoptions {
- "-Wno-unused-result",
- }
-
+ if (version >= 40400) then
+ buildoptions {
+ "-Wno-unused-result",
+ }
+ end
+
if (version >= 40700) then
buildoptions {
"-Wno-narrowing",