From b93090522129c288d56ddf4bea5e83233629de1a Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 23 Jun 2013 20:33:53 +0000 Subject: 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. --- sys/arch/luna88k/conf/Makefile.luna88k | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/luna88k/conf/Makefile.luna88k') diff --git a/sys/arch/luna88k/conf/Makefile.luna88k b/sys/arch/luna88k/conf/Makefile.luna88k index c0efdfbd0bc..e6b42c5ecda 100644 --- a/sys/arch/luna88k/conf/Makefile.luna88k +++ b/sys/arch/luna88k/conf/Makefile.luna88k @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.luna88k,v 1.47 2013/03/30 07:25:20 tedu Exp $ +# $OpenBSD: Makefile.luna88k,v 1.48 2013/06/23 20:33:51 miod Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector COPTS?= -O2 CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} -AFLAGS= -D_LOCORE -x assembler-with-cpp -traditional-cpp ${CMACHFLAGS} +AFLAGS= -D_LOCORE -x assembler-with-cpp ${CWARNFLAGS} ${CMACHFLAGS} LINKFLAGS= -T ${_machdir}/conf/ld.script -Ttext 0x20000 -e __start -X -N \ --warn-common -nopie -- cgit v1.2.3