mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
Revert "Fix gcc version 5 compile. (nw)"
This reverts commit b1246642eb
.
This commit is contained in:
parent
74bd9899a7
commit
23c3ee5607
@ -93,16 +93,10 @@ end
|
|||||||
function addprojectflags()
|
function addprojectflags()
|
||||||
local version = str_to_version(_OPTIONS["gcc_version"])
|
local version = str_to_version(_OPTIONS["gcc_version"])
|
||||||
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "gcc") then
|
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "gcc") then
|
||||||
if version >= 50100 then
|
buildoptions_cpp {
|
||||||
buildoptions_cpp {
|
"-Wsuggest-override",
|
||||||
"-Wsuggest-override",
|
"-flifetime-dse=1",
|
||||||
}
|
}
|
||||||
end
|
|
||||||
if version >= 60000 then
|
|
||||||
buildoptions_cpp {
|
|
||||||
"-flifetime-dse=1",
|
|
||||||
}
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user