diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 2000-07-09 19:20:41 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 2000-07-09 19:20:41 +0000 |
commit | 0b7298c4cf022750d3de63226e89f90aa5919786 (patch) | |
tree | 2381ba65ed4acf4b8829a9ecdb9c0f78211c3bac /distrib | |
parent | 17d00cd44046e2d397fdfd8e850ec82d3813ac24 (diff) |
revert previous change: link instbin w/ scrt0, saves a couple of k's
Bad Mickey... you broke the boot floppies. Thanks to art@ for
suggesting this might be the problem
Diffstat (limited to 'distrib')
-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 2a89b9b024a..ead9e5b2cbd 100644 --- a/distrib/crunch/crunchgen/crunchgen.c +++ b/distrib/crunch/crunchgen/crunchgen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crunchgen.c,v 1.16 2000/06/23 21:43:54 mickey Exp $ */ +/* $OpenBSD: crunchgen.c,v 1.17 2000/07/09 19:20:40 marc 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 -nostdlib -o %s %s.o %s/scrt0.o $(CRUNCHED_OBJS) $(LIBS) -lgcc -lc -lgcc\n", - execfname, execfname, libdir); + fprintf(outmk, "\t$(CC) -static -o %s %s.o $(CRUNCHED_OBJS) $(LIBS)\n", + execfname, execfname); fprintf(outmk, "\t$(STRIP) %s\n", execfname); fprintf(outmk, "all: objs exe\nobjs: $(SUBMAKE_TARGETS)\n"); fprintf(outmk, "exe: %s\n", execfname); |