mirror of
https://github.com/holub/mame
synced 2025-07-06 10:29:38 +03:00
well issue is on any gcc 5.x (nw)
This commit is contained in:
parent
3fff3faf6c
commit
eb04392728
@ -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",
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user