Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pc532/conf Work around an egcs internal compiler er...
details: https://anonhg.NetBSD.org/src/rev/bf77b37e1d5f
branches: trunk
changeset: 533780:bf77b37e1d5f
user: simonb <simonb%NetBSD.org@localhost>
date: Tue Jul 09 12:55:47 2002 +0000
description:
Work around an egcs internal compiler error when compiling ip6_mroute.c
with -O2 or greater.
diffstat:
sys/arch/pc532/conf/Makefile.pc532 | 5 ++++-
sys/arch/pc532/conf/files.pc532 | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r c73dd68a2885 -r bf77b37e1d5f sys/arch/pc532/conf/Makefile.pc532
--- a/sys/arch/pc532/conf/Makefile.pc532 Tue Jul 09 12:52:03 2002 +0000
+++ b/sys/arch/pc532/conf/Makefile.pc532 Tue Jul 09 12:55:47 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.pc532,v 1.69 2001/12/09 05:00:49 atatat Exp $
+# $NetBSD: Makefile.pc532,v 1.70 2002/07/09 12:55:47 simonb Exp $
# Makefile for NetBSD
#
@@ -47,6 +47,9 @@
MD_CILES=
MD_SFILES= ${PC532}/pc532/locore.s
+# egcs-1.1.2 bug fix; see doc/HACKS - egcs-pc532-ip6_mroute
+CC_OPT1= ${NORMAL_C:C/-O[0-9]+/-O1/}
+
locore.o: ${PC532}/pc532/locore.s assym.h
${NORMAL_S}
diff -r c73dd68a2885 -r bf77b37e1d5f sys/arch/pc532/conf/files.pc532
--- a/sys/arch/pc532/conf/files.pc532 Tue Jul 09 12:52:03 2002 +0000
+++ b/sys/arch/pc532/conf/files.pc532 Tue Jul 09 12:55:47 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.pc532,v 1.46 2002/01/21 21:57:05 jdolecek Exp $
+# $NetBSD: files.pc532,v 1.47 2002/07/09 12:55:47 simonb Exp $
#
# new style config file for pc532 architecture
#
@@ -78,3 +78,6 @@
# Binary compatibility with previous NetBSD releases.
#
file arch/pc532/pc532/compat_13_machdep.c compat_13
+
+# egcs-1.1.2 bug fix; see doc/HACKS - egcs-pc532-ip6_mroute
+file netinet6/ip6_mroute.c compile-with "${CC_OPT1}"
Home |
Main Index |
Thread Index |
Old Index