diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-07-28 21:39:58 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-07-28 21:39:58 +0000 |
commit | 36fb21bb928570f5f6d5cb7ea7ebe8359427d9da (patch) | |
tree | 2792946fa1785943f7d27f9250eb9062c68fc550 /usr.sbin/crunch | |
parent | ae6e75a0368f864fa5e7370c164dcd8790d53650 (diff) | |
download | FreeBSD-src-36fb21bb928570f5f6d5cb7ea7ebe8359427d9da.zip FreeBSD-src-36fb21bb928570f5f6d5cb7ea7ebe8359427d9da.tar.gz |
Fix rescue build after r284356 with STRIP= by using proper STRIPBIN per build(7).
This was causing the following error:
rescue
sh: rescue: not found
*** [rescue] Error code 127
make[1]: stopped in /usr/obj/usr/src/rescue/rescue
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'usr.sbin/crunch')
-rw-r--r-- | usr.sbin/crunch/crunchgen/crunchgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/crunch/crunchgen/crunchgen.c b/usr.sbin/crunch/crunchgen/crunchgen.c index 79b240f..8ace15a 100644 --- a/usr.sbin/crunch/crunchgen/crunchgen.c +++ b/usr.sbin/crunch/crunchgen/crunchgen.c @@ -980,7 +980,7 @@ top_makefile_rules(FILE *outmk) prog_t *p; fprintf(outmk, "LD?= ld\n"); - fprintf(outmk, "STRIP?= strip\n"); + fprintf(outmk, "STRIPBIN?= strip\n"); if ( subtract_strlst(&libs, &libs_so) ) fprintf(outmk, "# NOTE: Some LIBS declarations below overridden by LIBS_SO\n"); @@ -1028,7 +1028,7 @@ 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$(STRIP) %s\n", execfname); + 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"); |