diff options
author | 2013-06-23 20:33:51 +0000 | |
---|---|---|
committer | 2013-06-23 20:33:51 +0000 | |
commit | 1ae37ead4bcacd73e12f900dc706d6ab6a61643a (patch) | |
tree | 2ac4ee6e30408ec0154f43424b02de32bf794b01 /sys/arch/sparc | |
parent | Fix RELOC() in the __STDC__ case. (diff) | |
download | wireguard-openbsd-1ae37ead4bcacd73e12f900dc706d6ab6a61643a.tar.xz wireguard-openbsd-1ae37ead4bcacd73e12f900dc706d6ab6a61643a.zip |
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/sparc')
-rw-r--r-- | sys/arch/sparc/conf/Makefile.sparc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/conf/Makefile.sparc b/sys/arch/sparc/conf/Makefile.sparc index 8886158937b..4fb18aa8a63 100644 --- a/sys/arch/sparc/conf/Makefile.sparc +++ b/sys/arch/sparc/conf/Makefile.sparc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sparc,v 1.76 2013/03/30 07:25:20 tedu Exp $ +# $OpenBSD: Makefile.sparc,v 1.77 2013/06/23 20:33:51 miod Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -40,7 +40,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= -N -e start -Ttext F8004000 --warn-common -nopie .if ${IDENT:M-DDDB_STRUCT} |