diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-06-23 20:33:53 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-06-23 20:33:53 +0000 |
commit | b93090522129c288d56ddf4bea5e83233629de1a (patch) | |
tree | a37ffb67c122c988360274426ea7099c44b7e8d8 /sys/arch/mvme68k | |
parent | 712728976129570c4ad1892fac2ab81d38d2bba1 (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/mvme68k')
-rw-r--r-- | sys/arch/mvme68k/conf/Makefile.mvme68k | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/conf/Makefile.mvme68k b/sys/arch/mvme68k/conf/Makefile.mvme68k index f7c21d57660..7a23e89fe17 100644 --- a/sys/arch/mvme68k/conf/Makefile.mvme68k +++ b/sys/arch/mvme68k/conf/Makefile.mvme68k @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.mvme68k,v 1.67 2013/03/30 07:25:20 tedu Exp $ +# $OpenBSD: Makefile.mvme68k,v 1.68 2013/06/23 20:33:51 miod Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -37,7 +37,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= -Ttext 0x10000 -e start --warn-common -nopie .if ${IDENT:M-DDDB_STRUCT} |