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/amd64/conf | |
parent | 3d2d3481f3fd5e51bc447f398ceb6f31b4ed5d9d (diff) |
Disable a few warning flags that were introduced and enabled by default
with LLVM 13.
Diffstat (limited to 'sys/arch/amd64/conf')
-rw-r--r-- | sys/arch/amd64/conf/Makefile.amd64 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64 index 5295aeae69c..289e60926d3 100644 --- a/sys/arch/amd64/conf/Makefile.amd64 +++ b/sys/arch/amd64/conf/Makefile.amd64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.amd64,v 1.122 2021/11/27 00:49:21 jsg Exp $ +# $OpenBSD: Makefile.amd64,v 1.123 2021/12/17 14:59:22 patrick Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -70,7 +70,8 @@ CMACHFLAGS+= -mno-retpoline .endif .if ${COMPILER_VERSION:Mclang} NO_INTEGR_AS= -no-integrated-as -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 |