stripped binaries

Alexander V. Chernikov melifaro at yandex-team.ru
Thu Aug 1 18:54:00 CEST 2013


Hello list!

Currently tools/Makefile.in explicitly strips every binary it installs 
via '$(INSTALL_PROGRAM) -s'.
Usually INSTALL_PROGRAM already has '-s' set (unless user specified he 
wants unstripped binary)
Can we please remove  the second '-s' ?

P.S. IIRC this was already discussed but I can't find it.
-------------- next part --------------
--- tools/Makefile.in.orig	2013-08-01 20:04:09.338432694 +0400
+++ tools/Makefile.in	2013-08-01 20:04:29.477297340 +0400
@@ -69,10 +69,10 @@
 
 install: all
 	$(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir) $(DESTDIR)/@runtimedir@
-	$(INSTALL_PROGRAM) -s $(exedir)/bird $(DESTDIR)/$(sbindir)/bird at SUFFIX@
-	$(INSTALL_PROGRAM) -s $(exedir)/birdcl $(DESTDIR)/$(sbindir)/birdcl at SUFFIX@
+	$(INSTALL_PROGRAM) $(exedir)/bird $(DESTDIR)/$(sbindir)/bird at SUFFIX@
+	$(INSTALL_PROGRAM) $(exedir)/birdcl $(DESTDIR)/$(sbindir)/birdcl at SUFFIX@
 	if test -n "@CLIENT@" ; then								\
-		$(INSTALL_PROGRAM) -s $(exedir)/birdc $(DESTDIR)/$(sbindir)/birdc at SUFFIX@ ;	\
+		$(INSTALL_PROGRAM) $(exedir)/birdc $(DESTDIR)/$(sbindir)/birdc at SUFFIX@ ;	\
 	fi
 	if ! test -f $(DESTDIR)/@CONFIG_FILE@ ; then						\
 		$(INSTALL_DATA) $(srcdir)/doc/bird.conf.example $(DESTDIR)/@CONFIG_FILE@ ;	\


More information about the Bird-users mailing list