Do not strip binaries before installing them, to make it easier to get binaries with...
authorPetter Reinholdtsen <pere@hungry.com>
Sun, 11 Apr 2010 08:50:10 +0000 (08:50 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Sun, 11 Apr 2010 08:50:10 +0000 (08:50 +0000)
git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@62 456724a4-4300-0410-8514-c89748c515a2

doc/Changelog
src/Makefile

index 51163adb8073e54533b41830f1ce0deba52c4f8e..a4510174feb8826d67fe0ac8196db4157c92824e 100644 (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
index cd6aed9a48433d9bc56e149a9a38476e84b5af92..e2b8028c428910a00faf98718dcf5818cb908f9b 100644 (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/