svn commit: r306497 - head/usr.sbin/crunch/crunchgen

Ed Maste emaste at FreeBSD.org
Fri Sep 30 13:16:05 UTC 2016


Author: emaste
Date: Fri Sep 30 13:16:04 2016
New Revision: 306497
URL: https://svnweb.freebsd.org/changeset/base/306497

Log:
  crunchgen: do not strip crunched binary (it will be done by install)
  
  Reviewed by:	adrian, imp (earlier)
  Differential Revision:	https://reviews.freebsd.org/D2003

Modified:
  head/usr.sbin/crunch/crunchgen/crunchgen.c

Modified: head/usr.sbin/crunch/crunchgen/crunchgen.c
==============================================================================
--- head/usr.sbin/crunch/crunchgen/crunchgen.c	Fri Sep 30 13:05:32 2016	(r306496)
+++ head/usr.sbin/crunch/crunchgen/crunchgen.c	Fri Sep 30 13:16:04 2016	(r306497)
@@ -985,7 +985,6 @@ top_makefile_rules(FILE *outmk)
 	prog_t *p;
 
 	fprintf(outmk, "LD?= ld\n");
-	fprintf(outmk, "STRIPBIN?= strip\n");
 	if ( subtract_strlst(&libs, &libs_so) )
 		fprintf(outmk, "# NOTE: Some LIBS declarations below overridden by LIBS_SO\n");
 
@@ -1033,7 +1032,6 @@ top_makefile_rules(FILE *outmk)
 	fprintf(outmk, "\t$(CC) -static -o %s %s.o $(CRUNCHED_OBJS) $(LIBS)\n",
 	    execfname, execfname);
 	fprintf(outmk, ".endif\n");
-	fprintf(outmk, "\t$(STRIPBIN) %s\n", execfname);
 	fprintf(outmk, "realclean: clean subclean\n");
 	fprintf(outmk, "clean:\n\trm -f %s *.lo *.o *_stub.c\n", execfname);
 	fprintf(outmk, "subclean: $(SUBCLEAN_TARGETS)\n");


More information about the svn-src-all mailing list