summaryrefslogtreecommitdiff
path: root/sys/arch/loongson
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2021-12-17 14:59:23 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2021-12-17 14:59:23 +0000
commit5f72cf4449fbc07c57abadebcaa1b9e1e0cbbb07 (patch)
tree019058f6a212497c4f53347d6c6c53e9e7cac03c /sys/arch/loongson
parent3d2d3481f3fd5e51bc447f398ceb6f31b4ed5d9d (diff)
Disable a few warning flags that were introduced and enabled by default
with LLVM 13.
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r--sys/arch/loongson/conf/Makefile.loongson5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/loongson/conf/Makefile.loongson b/sys/arch/loongson/conf/Makefile.loongson
index c890376e852..c34f616551f 100644
--- a/sys/arch/loongson/conf/Makefile.loongson
+++ b/sys/arch/loongson/conf/Makefile.loongson
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.loongson,v 1.81 2021/11/27 00:49:21 jsg Exp $
+# $OpenBSD: Makefile.loongson,v 1.82 2021/12/17 14:59:22 patrick Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -49,7 +49,8 @@ COPTIMIZE?= -Oz
.if ${COMPILER_VERSION:Mclang}
NO_INTEGR_AS= -no-integrated-as
CMACHFLAGS+= -fomit-frame-pointer
-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