diff options
author | 2019-11-01 17:27:05 +0100 | |
---|---|---|
committer | 2019-11-01 17:27:05 +0100 | |
commit | 23c3ee5607bb631aff5c5400de0a9924ef393add (patch) | |
tree | 746410f7ea16d283cd03d9227fe1f4fdb6bee588 | |
parent | 74bd9899a7d5854f60eecfdacd643b2aea8c2ada (diff) |
Revert "Fix gcc version 5 compile. (nw)"
This reverts commit b1246642eb6e3f48f1fe19b7ae6584c1e544e88b.
-rw-r--r-- | scripts/genie.lua | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index b29e02f9d90..6aa28173b1d 100644 --- a/scripts/genie.lua +++ b/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 |