From 3058ad61900917bdd4507e8b4721c6cafe873067 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 7 Nov 2001 04:48:07 +0000 Subject: [PATCH] make sure that we ramdiskbin is static. By the numbscull! Nobody tested this? BTW. it seems that only make working floppies with USETOOLS=no. Will investigate more. --- usr.bin/crunch/crunchgen/crunchgen.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.bin/crunch/crunchgen/crunchgen.c b/usr.bin/crunch/crunchgen/crunchgen.c index 82a678e76243..2a1f77695771 100644 --- a/usr.bin/crunch/crunchgen/crunchgen.c +++ b/usr.bin/crunch/crunchgen/crunchgen.c @@ -1,4 +1,4 @@ -/* $NetBSD: crunchgen.c,v 1.26 2001/10/21 23:06:59 jmc Exp $ */ +/* $NetBSD: crunchgen.c,v 1.27 2001/11/07 04:48:07 christos Exp $ */ /* * Copyright (c) 1994 University of Maryland * All Rights Reserved. @@ -33,7 +33,7 @@ */ #include #ifndef lint -__RCSID("$NetBSD: crunchgen.c,v 1.26 2001/10/21 23:06:59 jmc Exp $"); +__RCSID("$NetBSD: crunchgen.c,v 1.27 2001/11/07 04:48:07 christos Exp $"); #endif #include @@ -820,6 +820,7 @@ void top_makefile_rules(FILE *outmk) for(p = progs; p != NULL; p = p->next) fprintf(outmk, " %s.cro", p->name); fprintf(outmk, "\n"); + fprintf(outmk, "LDSTATIC=-static\n"); fprintf(outmk, "DPADD+= ${CRUNCHED_OBJS}\n"); fprintf(outmk, "LDADD+= ${CRUNCHED_OBJS} "); output_strlst(outmk, libs);