summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distrib/crunch/crunchgen/crunchgen.c6
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);