From d32b28e44ead6c71f76f6cf36edfc701e8e1a9ab Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Sun, 11 Apr 2010 08:50:10 +0000 Subject: [PATCH] Do not strip binaries before installing them, to make it easier to get binaries with debug information installed. --- doc/Changelog | 2 ++ src/Makefile | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index 51163ad..a451017 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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 diff --git a/src/Makefile b/src/Makefile index cd6aed9..e2b8028 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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/