mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
Renamed to STRIP_SYMBOLS and made logic more clear (nw)
This commit is contained in:
parent
98297ad03d
commit
3827f898ab
6
makefile
6
makefile
@ -77,7 +77,7 @@
|
||||
# SEPARATE_BIN = 1
|
||||
# PYTHON_EXECUTABLE = python3
|
||||
# SHADOW_CHECK = 1
|
||||
# NO_STRIPPING = 1
|
||||
# STRIP_SYMBOLS = 0
|
||||
|
||||
# QT_HOME = /usr/lib64/qt48/
|
||||
|
||||
@ -539,8 +539,8 @@ ifdef SHADOW_CHECK
|
||||
PARAMS += --SHADOW_CHECK='$(SHADOW_CHECK)'
|
||||
endif
|
||||
|
||||
ifdef NO_STRIPPING
|
||||
PARAMS += --NO_STRIPPING='$(NO_STRIPPING)'
|
||||
ifdef STRIP_SYMBOLS
|
||||
PARAMS += --STRIP_SYMBOLS='$(STRIP_SYMBOLS)'
|
||||
endif
|
||||
|
||||
ifdef QT_HOME
|
||||
|
@ -288,11 +288,11 @@ newoption {
|
||||
}
|
||||
|
||||
newoption {
|
||||
trigger = "NO_STRIPPING",
|
||||
description = "Stripping.",
|
||||
trigger = "STRIP_SYMBOLS",
|
||||
description = "Symbols stripping.",
|
||||
allowed = {
|
||||
{ "0", "Enabled" },
|
||||
{ "1", "Disabled" },
|
||||
{ "0", "Disabled" },
|
||||
{ "1", "Enabled" },
|
||||
}
|
||||
}
|
||||
|
||||
@ -1148,7 +1148,7 @@ else
|
||||
end
|
||||
mainProject(_OPTIONS["target"],_OPTIONS["subtarget"])
|
||||
|
||||
if (_OPTIONS["NO_STRIPPING"]~="1") then
|
||||
if (_OPTIONS["STRIP_SYMBOLS"]== nil or _OPTIONS["STRIP_SYMBOLS"]=="1") then
|
||||
strip()
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user