diff options
author | 2014-05-08 17:59:28 +0000 | |
---|---|---|
committer | 2014-05-08 17:59:28 +0000 | |
commit | 9da7983824ad6bfad1074f11bf875538c5cd1d2c (patch) | |
tree | b0be483e307813e2594795c53511a2283cf28bdb | |
parent | regen (diff) | |
download | wireguard-openbsd-9da7983824ad6bfad1074f11bf875538c5cd1d2c.tar.xz wireguard-openbsd-9da7983824ad6bfad1074f11bf875538c5cd1d2c.zip |
Enable -Wno-format in the kernel on i386 & amd64
ok jsg@
"go for it" kettenis@
-rw-r--r-- | sys/arch/amd64/conf/Makefile.amd64 | 4 | ||||
-rw-r--r-- | sys/arch/i386/conf/Makefile.i386 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64 index a98efa904fe..567d34cbdc2 100644 --- a/sys/arch/amd64/conf/Makefile.amd64 +++ b/sys/arch/amd64/conf/Makefile.amd64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.amd64,v 1.58 2013/10/16 17:34:02 florian Exp $ +# $OpenBSD: Makefile.amd64,v 1.59 2014/05/08 17:59:28 sf Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -24,7 +24,7 @@ _archdir?= $S/arch/${_arch} INCLUDES= -nostdinc -I$S -I. -I$S/arch CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -MD -MP CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ - -Wno-main -Wno-uninitialized -Wno-format \ + -Wno-main -Wno-uninitialized \ -Wstack-larger-than-2047 CMACHFLAGS= -mcmodel=kernel -mno-red-zone -mno-sse2 -mno-sse -mno-3dnow \ diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386 index 6c36f7fbe54..28dca873eb8 100644 --- a/sys/arch/i386/conf/Makefile.i386 +++ b/sys/arch/i386/conf/Makefile.i386 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.i386,v 1.88 2013/10/15 19:23:27 guenther Exp $ +# $OpenBSD: Makefile.i386,v 1.89 2014/05/08 17:59:28 sf Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -24,7 +24,7 @@ _archdir?= $S/arch/${_arch} INCLUDES= -nostdinc -I$S -I. -I$S/arch CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -MD -MP CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ - -Wno-main -Wno-uninitialized -Wno-format \ + -Wno-main -Wno-uninitialized \ -Wstack-larger-than-2047 CMACHFLAGS= |