Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/sparc64/instfs Do not use -Os when compiling small p...
details: https://anonhg.NetBSD.org/src/rev/9536cfbde25e
branches: trunk
changeset: 537707:9536cfbde25e
user: martin <martin%NetBSD.org@localhost>
date: Fri Oct 04 21:23:06 2002 +0000
description:
Do not use -Os when compiling small programs for the miniroot or
install kernel ramdisk image. It triggers some toolchain bug and
causes for example ifconfig to not display inet addresses.
diffstat:
distrib/sparc64/instfs/Makefile | 4 +++-
distrib/sparc64/instfs/Makefile.instfs | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 990e4c4bd88e -r 9536cfbde25e distrib/sparc64/instfs/Makefile
--- a/distrib/sparc64/instfs/Makefile Fri Oct 04 21:19:34 2002 +0000
+++ b/distrib/sparc64/instfs/Makefile Fri Oct 04 21:23:06 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/05/08 23:11:56 lukem Exp $
+# $NetBSD: Makefile,v 1.11 2002/10/04 21:23:06 martin Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -20,6 +20,8 @@
.include "${HACKSRC}/Makefile.inc"
${CRUNCHBIN}: libhack.o
+CRUNCHGEN_FLAGS="-d -O"
+
.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"
diff -r 990e4c4bd88e -r 9536cfbde25e distrib/sparc64/instfs/Makefile.instfs
--- a/distrib/sparc64/instfs/Makefile.instfs Fri Oct 04 21:19:34 2002 +0000
+++ b/distrib/sparc64/instfs/Makefile.instfs Fri Oct 04 21:23:06 2002 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile.instfs,v 1.2 2002/06/01 16:36:09 lukem Exp $
+# $NetBSD: Makefile.instfs,v 1.3 2002/10/04 21:23:07 martin Exp $
INSTFSDIR= ${.CURDIR}/../instfs
MAKEFS_FLAGS= -o bsize=16k,fsize=2k -f 15
WARNS= 1
-DBG= -Os
+DBG= # -Os
CRUNCHBIN= ramdiskbin
LISTS= ${INSTFSDIR}/list ${DISTRIBDIR}/common/list.sysinst
Home |
Main Index |
Thread Index |
Old Index