Do not strip binaries before installing them, to make it easier to get binaries with debug information installed.

This commit is contained in:
Petter Reinholdtsen 2010-04-11 08:50:10 +00:00
parent b6ecd1eadc
commit d32b28e44e
2 changed files with 2 additions and 4 deletions

View File

@ -31,6 +31,8 @@ sysvinit (2.88dsf) UNRELEASED; urgency=low
while.
* Incude definition for MNT_DETACH which is missing in older GNU libc
headers.
* Do not strip binaries before installing them, to make it easier to
get binaries with debug information installed.
[ Werner Fink ]
* Add the comment from Andrea Arcangeli about the correct

View File

@ -57,7 +57,6 @@ ID = $(shell id -u)
BIN_OWNER = root
BIN_GROUP = root
BIN_COMBO = $(BIN_OWNER):$(BIN_GROUP)
STRIP = strip -s -R .comment
ifeq ($(ID),0)
INSTALL_EXEC = install -o $(BIN_OWNER) -g $(BIN_GROUP) -m 755
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)/usr/bin/
for i in $(BIN); do \
$(STRIP) $$i ; \
$(INSTALL_EXEC) $$i $(ROOT)/bin/ ; \
done
for i in $(SBIN); do \
$(STRIP) $$i ; \
$(INSTALL_EXEC) $$i $(ROOT)/sbin/ ; \
done
for i in $(USRBIN); do \
$(STRIP) $$i ; \
$(INSTALL_EXEC) $$i $(ROOT)/usr/bin/ ; \
done
# $(INSTALL_DIR) $(ROOT)/etc/