well issue is on any gcc 5.x (nw)

This commit is contained in:
Miodrag Milanovic 2017-03-30 08:50:24 +02:00
parent 3fff3faf6c
commit eb04392728

View File

@ -769,15 +769,17 @@ project "bx"
MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
}
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "gcc") then
configuration { "linux*" }
buildoptions {
"-Wno-strict-overflow",
}
end
configuration { }
local version = str_to_version(_OPTIONS["gcc_version"])
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "gcc") then
if version < 60000 then
buildoptions {
"-Wno-strict-overflow",
}
end
end
includedirs {
MAME_DIR .. "3rdparty/bx/include",
}