diff options
author | 2015-03-26 13:19:28 +0100 | |
---|---|---|
committer | 2015-03-26 13:19:28 +0100 | |
commit | 6f7ac1a20070acc41e24f2af5fd2a3bbe552165e (patch) | |
tree | 6abbff77fb860e554e4a72c51d90cc1fc4ad1959 | |
parent | edab1abaaf62511c64ef549d14ba92c196e82751 (diff) |
fix gcc version to use
-rw-r--r-- | scripts/genie.lua | 10 |
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", |