Do not strip binaries before installing them, to make it easier to get binaries with debug information installed.
This commit is contained in:
parent
b6ecd1eadc
commit
d32b28e44e
@ -31,6 +31,8 @@ sysvinit (2.88dsf) UNRELEASED; urgency=low
|
|||||||
while.
|
while.
|
||||||
* Incude definition for MNT_DETACH which is missing in older GNU libc
|
* Incude definition for MNT_DETACH which is missing in older GNU libc
|
||||||
headers.
|
headers.
|
||||||
|
* Do not strip binaries before installing them, to make it easier to
|
||||||
|
get binaries with debug information installed.
|
||||||
|
|
||||||
[ Werner Fink ]
|
[ Werner Fink ]
|
||||||
* Add the comment from Andrea Arcangeli about the correct
|
* Add the comment from Andrea Arcangeli about the correct
|
||||||
|
@ -57,7 +57,6 @@ ID = $(shell id -u)
|
|||||||
BIN_OWNER = root
|
BIN_OWNER = root
|
||||||
BIN_GROUP = root
|
BIN_GROUP = root
|
||||||
BIN_COMBO = $(BIN_OWNER):$(BIN_GROUP)
|
BIN_COMBO = $(BIN_OWNER):$(BIN_GROUP)
|
||||||
STRIP = strip -s -R .comment
|
|
||||||
ifeq ($(ID),0)
|
ifeq ($(ID),0)
|
||||||
INSTALL_EXEC = install -o $(BIN_OWNER) -g $(BIN_GROUP) -m 755
|
INSTALL_EXEC = install -o $(BIN_OWNER) -g $(BIN_GROUP) -m 755
|
||||||
INSTALL_DATA = install -o $(BIN_OWNER) -g $(BIN_GROUP) -m 644
|
INSTALL_DATA = install -o $(BIN_OWNER) -g $(BIN_GROUP) -m 644
|
||||||
@ -142,15 +141,12 @@ install:
|
|||||||
$(INSTALL_DIR) $(ROOT)/bin/ $(ROOT)/sbin/
|
$(INSTALL_DIR) $(ROOT)/bin/ $(ROOT)/sbin/
|
||||||
$(INSTALL_DIR) $(ROOT)/usr/bin/
|
$(INSTALL_DIR) $(ROOT)/usr/bin/
|
||||||
for i in $(BIN); do \
|
for i in $(BIN); do \
|
||||||
$(STRIP) $$i ; \
|
|
||||||
$(INSTALL_EXEC) $$i $(ROOT)/bin/ ; \
|
$(INSTALL_EXEC) $$i $(ROOT)/bin/ ; \
|
||||||
done
|
done
|
||||||
for i in $(SBIN); do \
|
for i in $(SBIN); do \
|
||||||
$(STRIP) $$i ; \
|
|
||||||
$(INSTALL_EXEC) $$i $(ROOT)/sbin/ ; \
|
$(INSTALL_EXEC) $$i $(ROOT)/sbin/ ; \
|
||||||
done
|
done
|
||||||
for i in $(USRBIN); do \
|
for i in $(USRBIN); do \
|
||||||
$(STRIP) $$i ; \
|
|
||||||
$(INSTALL_EXEC) $$i $(ROOT)/usr/bin/ ; \
|
$(INSTALL_EXEC) $$i $(ROOT)/usr/bin/ ; \
|
||||||
done
|
done
|
||||||
# $(INSTALL_DIR) $(ROOT)/etc/
|
# $(INSTALL_DIR) $(ROOT)/etc/
|
||||||
|
Loading…
Reference in New Issue
Block a user