summaryrefslogtreecommitdiffstats
path: root/docs/release/scripts/genie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'docs/release/scripts/genie.lua')
-rw-r--r--docs/release/scripts/genie.lua14
1 files changed, 4 insertions, 10 deletions
diff --git a/docs/release/scripts/genie.lua b/docs/release/scripts/genie.lua
index b29e02f9d90..6aa28173b1d 100644
--- a/docs/release/scripts/genie.lua
+++ b/docs/release/scripts/genie.lua
@@ -93,16 +93,10 @@ end
function addprojectflags()
local version = str_to_version(_OPTIONS["gcc_version"])
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "gcc") then
- if version >= 50100 then
- buildoptions_cpp {
- "-Wsuggest-override",
- }
- end
- if version >= 60000 then
- buildoptions_cpp {
- "-flifetime-dse=1",
- }
- end
+ buildoptions_cpp {
+ "-Wsuggest-override",
+ "-flifetime-dse=1",
+ }
end
end