diff options
author | 2000-06-23 21:43:54 +0000 | |
---|---|---|
committer | 2000-06-23 21:43:54 +0000 | |
commit | b20999f07fe128d4a22a3d42b9d69c13f6cda3da (patch) | |
tree | 53ab92a1404a9abf1abfcaad83d661181515c1bd | |
parent | implement bubble sort in ksh instead of using sort(1). (diff) | |
download | wireguard-openbsd-b20999f07fe128d4a22a3d42b9d69c13f6cda3da.tar.xz wireguard-openbsd-b20999f07fe128d4a22a3d42b9d69c13f6cda3da.zip |
link instbin w/ scrt0, saves a couple of k's
-rw-r--r-- | distrib/crunch/crunchgen/crunchgen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/crunch/crunchgen/crunchgen.c b/distrib/crunch/crunchgen/crunchgen.c index d3c5ccffaf4..2a89b9b024a 100644 --- a/distrib/crunch/crunchgen/crunchgen.c +++ b/distrib/crunch/crunchgen/crunchgen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crunchgen.c,v 1.15 1999/12/06 01:47:58 deraadt Exp $ */ +/* $OpenBSD: crunchgen.c,v 1.16 2000/06/23 21:43:54 mickey Exp $ */ /* * Copyright (c) 1994 University of Maryland * All Rights Reserved. @@ -822,8 +822,8 @@ void top_makefile_rules(FILE *outmk) fprintf(outmk, "%s: %s.o $(CRUNCHED_OBJS)\n", execfname, execfname); - fprintf(outmk, "\t$(CC) -static -o %s %s.o $(CRUNCHED_OBJS) $(LIBS)\n", - execfname, execfname); + fprintf(outmk, "\t$(CC) -static -nostdlib -o %s %s.o %s/scrt0.o $(CRUNCHED_OBJS) $(LIBS) -lgcc -lc -lgcc\n", + execfname, execfname, libdir); fprintf(outmk, "\t$(STRIP) %s\n", execfname); fprintf(outmk, "all: objs exe\nobjs: $(SUBMAKE_TARGETS)\n"); fprintf(outmk, "exe: %s\n", execfname); |