diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2021-12-17 14:59:23 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2021-12-17 14:59:23 +0000 |
commit | 5f72cf4449fbc07c57abadebcaa1b9e1e0cbbb07 (patch) | |
tree | 019058f6a212497c4f53347d6c6c53e9e7cac03c /sys/arch/sparc64/conf/Makefile.sparc64 | |
parent | 3d2d3481f3fd5e51bc447f398ceb6f31b4ed5d9d (diff) |
Disable a few warning flags that were introduced and enabled by default
with LLVM 13.
Diffstat (limited to 'sys/arch/sparc64/conf/Makefile.sparc64')
-rw-r--r-- | sys/arch/sparc64/conf/Makefile.sparc64 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc64/conf/Makefile.sparc64 b/sys/arch/sparc64/conf/Makefile.sparc64 index 7f2fdaca0c1..90913acf125 100644 --- a/sys/arch/sparc64/conf/Makefile.sparc64 +++ b/sys/arch/sparc64/conf/Makefile.sparc64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sparc64,v 1.103 2021/01/28 17:39:03 deraadt Exp $ +# $OpenBSD: Makefile.sparc64,v 1.104 2021/12/17 14:59:22 patrick Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -45,7 +45,8 @@ COPTIMIZE?= -Oz .endif .if ${COMPILER_VERSION:Mclang} CWARNFLAGS+= -Wno-unused-command-line-argument -CWARNFLAGS+= -Wno-address-of-packed-member -Wno-constant-conversion +CWARNFLAGS+= -Wno-address-of-packed-member -Wno-constant-conversion \ + -Wno-unused-but-set-variable -Wno-gnu-folding-constant .endif DEBUG?= -g |