Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sh5/conf Roll our own CWARNFLAGS. There are some th...
details: https://anonhg.NetBSD.org/src/rev/3a2c227c2e8f
branches: trunk
changeset: 533620:3a2c227c2e8f
user: scw <scw%NetBSD.org@localhost>
date: Fri Jul 05 14:02:31 2002 +0000
description:
Roll our own CWARNFLAGS. There are some things in MI code which the
SuperH version of gcc barfs over.
diffstat:
sys/arch/sh5/conf/Makefile.sh5 | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r a1aeb22c6462 -r 3a2c227c2e8f sys/arch/sh5/conf/Makefile.sh5
--- a/sys/arch/sh5/conf/Makefile.sh5 Fri Jul 05 13:59:14 2002 +0000
+++ b/sys/arch/sh5/conf/Makefile.sh5 Fri Jul 05 14:02:31 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sh5,v 1.1 2002/07/05 13:31:50 scw Exp $
+# $NetBSD: Makefile.sh5,v 1.2 2002/07/05 14:02:31 scw Exp $
# Makefile for NetBSD/sh5
#
@@ -42,7 +42,9 @@
RANLIB= sh5ranlib
SIZE= sh5size
CPPFLAGS+= -D${MACHINE}
-CWARNFLAGS+= -Wno-parentheses
+DEFWARNINGS= no
+CWARNFLAGS+= -Wall -Wno-main -Wpointer-arith -Wno-uninitialized
+CWARNFLAGS+= -Wmissing-prototypes -Wstrict-prototypes
AFLAGS+= -x assembler-with-cpp -traditional-cpp
COPTS?= -O2
Home |
Main Index |
Thread Index |
Old Index