mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
Adjusted toolchain.lua to allow DEBUG=1 builds to be modified by STRIP_SYMBOLS=1 (nw)
This commit is contained in:
parent
a735e09f37
commit
533fd78fc2
@ -1040,30 +1040,30 @@ function strip()
|
||||
return true
|
||||
end
|
||||
|
||||
configuration { "osx-*", "Release" }
|
||||
configuration { "osx-*" }
|
||||
postbuildcommands {
|
||||
"$(SILENT) echo Stripping symbols.",
|
||||
"$(SILENT) " .. (_OPTIONS['TOOLCHAIN'] and toolchainPrefix) .. "strip \"$(TARGET)\"",
|
||||
}
|
||||
|
||||
configuration { "android-*", "Release" }
|
||||
configuration { "android-*" }
|
||||
postbuildcommands {
|
||||
"$(SILENT) echo Stripping symbols.",
|
||||
"$(SILENT) " .. toolchainPrefix .. "strip -s \"$(TARGET)\""
|
||||
}
|
||||
|
||||
configuration { "linux-* or rpi", "Release" }
|
||||
configuration { "linux-* or rpi" }
|
||||
postbuildcommands {
|
||||
"$(SILENT) echo Stripping symbols.",
|
||||
"$(SILENT) strip -s \"$(TARGET)\""
|
||||
}
|
||||
|
||||
configuration { "mingw*", "x64", "Release" }
|
||||
configuration { "mingw*", "x64" }
|
||||
postbuildcommands {
|
||||
"$(SILENT) echo Stripping symbols.",
|
||||
"$(SILENT) " .. (_OPTIONS['TOOLCHAIN'] or "$(MINGW64)/bin/") .. "strip -s \"$(TARGET)\"",
|
||||
}
|
||||
configuration { "mingw*", "x32", "Release" }
|
||||
configuration { "mingw*", "x32" }
|
||||
postbuildcommands {
|
||||
"$(SILENT) echo Stripping symbols.",
|
||||
"$(SILENT) " .. (_OPTIONS['TOOLCHAIN'] or "$(MINGW32)/bin/") .. "strip -s \"$(TARGET)\"",
|
||||
|
Loading…
Reference in New Issue
Block a user