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/riscv64 | |
parent | 3d2d3481f3fd5e51bc447f398ceb6f31b4ed5d9d (diff) |
Disable a few warning flags that were introduced and enabled by default
with LLVM 13.
Diffstat (limited to 'sys/arch/riscv64')
-rw-r--r-- | sys/arch/riscv64/conf/Makefile.riscv64 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/riscv64/conf/Makefile.riscv64 b/sys/arch/riscv64/conf/Makefile.riscv64 index 5c9b5e07ecb..0972911c51e 100644 --- a/sys/arch/riscv64/conf/Makefile.riscv64 +++ b/sys/arch/riscv64/conf/Makefile.riscv64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.riscv64,v 1.13 2021/11/27 00:49:22 jsg Exp $ +# $OpenBSD: Makefile.riscv64,v 1.14 2021/12/17 14:59:22 patrick Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -28,6 +28,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D__${_mach}__ -MD -MP CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \ -Wno-pointer-sign \ -Wno-constant-conversion -Wno-address-of-packed-member \ + -Wno-unused-but-set-variable -Wno-gnu-folding-constant \ -Wframe-larger-than=2047 CMACHFLAGS= -march=rv64gc -mcmodel=medany -mno-relax \ |