mirror of
https://github.com/holub/mame
synced 2025-04-22 00:11:58 +03:00
don't use -static on msys2 clang 4.0.0 as it's currently broken, also removed -static-libgcc & -static-libstdc++ on gcc builds as they have no effect if you use -static (nw)
This commit is contained in:
parent
9339777901
commit
104fe318ac
@ -1132,10 +1132,14 @@ configuration { "osx* or xcode4" }
|
||||
}
|
||||
|
||||
configuration { "mingw*" }
|
||||
local version = str_to_version(_OPTIONS["gcc_version"])
|
||||
if not (_OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang")) or version < 40000
|
||||
then
|
||||
linkoptions {
|
||||
"-static",
|
||||
}
|
||||
end
|
||||
linkoptions {
|
||||
"-static-libgcc",
|
||||
"-static-libstdc++",
|
||||
"-static",
|
||||
"-Wl,--start-group",
|
||||
}
|
||||
links {
|
||||
|
Loading…
Reference in New Issue
Block a user