Nmap Development mailing list archives

[PATCH] we already $(STRIP) so do not `install -s`


From: Mike Frysinger <vapier () gentoo org>
Date: Thu, 16 Jul 2009 18:52:41 -0400

Since the build system already calls $(STRIP), there is no need to use the
-s flag with install.  The former allows for easy cross-compile but the
latter does not (install always executes `strip`).

Signed-off-by: Mike Frysinger <vapier () gentoo org>
---
 ncat/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ncat/Makefile.in b/ncat/Makefile.in
index c5ae8c1..0a3c18c 100644
--- a/ncat/Makefile.in
+++ b/ncat/Makefile.in
@@ -132,7 +132,7 @@ $(NSOCKDIR)/libnsock.a: $(NSOCKDIR)/Makefile
 install: $(TARGET)
        @echo Installing Ncat;
        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(mandir)/man1
-       $(INSTALL) -c -m 755 -s ncat $(DESTDIR)$(bindir)/ncat
+       $(INSTALL) -c -m 755 ncat $(DESTDIR)$(bindir)/ncat
        $(INSTALL) -c -m 644 $(DATAFILES) $(DESTDIR)$(pkgdatadir)/
        $(INSTALL) -c -m 644 $(srcdir)/docs/$(TARGET).1 $(DESTDIR)$(mandir)/man1/$(TARGET).1
 
-- 
1.6.3.3


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: