From 5f72cf4449fbc07c57abadebcaa1b9e1e0cbbb07 Mon Sep 17 00:00:00 2001 From: Patrick Wildt Date: Fri, 17 Dec 2021 14:59:23 +0000 Subject: Disable a few warning flags that were introduced and enabled by default with LLVM 13. --- sys/arch/sparc64/conf/Makefile.sparc64 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/arch/sparc64/conf/Makefile.sparc64') 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 -- cgit v1.2.3