summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-06-23 20:33:53 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-06-23 20:33:53 +0000
commitb93090522129c288d56ddf4bea5e83233629de1a (patch)
treea37ffb67c122c988360274426ea7099c44b7e8d8 /sys/arch/sgi/conf
parent712728976129570c4ad1892fac2ab81d38d2bba1 (diff)
Stop using -traditional-cpp on gcc3/4 platforms.
Add CWARNFLAGS to the command line when using -xassembler-with-cpp. We are mostly interested in -Werror here.
Diffstat (limited to 'sys/arch/sgi/conf')
-rw-r--r--sys/arch/sgi/conf/Makefile.sgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/conf/Makefile.sgi b/sys/arch/sgi/conf/Makefile.sgi
index a07ee2a9b8e..77254b68112 100644
--- a/sys/arch/sgi/conf/Makefile.sgi
+++ b/sys/arch/sgi/conf/Makefile.sgi
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sgi,v 1.60 2013/04/01 19:12:14 miod Exp $
+# $OpenBSD: Makefile.sgi,v 1.61 2013/06/23 20:33:51 miod Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -44,7 +44,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
-AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS}
+AFLAGS= -D_LOCORE -x assembler-with-cpp ${CWARNFLAGS} ${CMACHFLAGS}
LINKFLAGS= -e start -T ${_machdir}/conf/ld.script -Ttext=${LINK_ADDRESS} \
--warn-common -nopie