Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/crunch/crunchgen make sure that we ramdiskbin is sta...
details: https://anonhg.NetBSD.org/src/rev/5682d0cc1bf0
branches: trunk
changeset: 517114:5682d0cc1bf0
user: christos <christos%NetBSD.org@localhost>
date: Wed Nov 07 04:48:07 2001 +0000
description:
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.
diffstat:
usr.bin/crunch/crunchgen/crunchgen.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 6d396180ac49 -r 5682d0cc1bf0 usr.bin/crunch/crunchgen/crunchgen.c
--- a/usr.bin/crunch/crunchgen/crunchgen.c Wed Nov 07 04:23:24 2001 +0000
+++ b/usr.bin/crunch/crunchgen/crunchgen.c Wed Nov 07 04:48:07 2001 +0000
@@ -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 <sys/cdefs.h>
#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 <stdlib.h>
@@ -820,6 +820,7 @@
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);
Home |
Main Index |
Thread Index |
Old Index