summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-04-23 12:09:46 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-04-23 12:09:46 +0000
commit1fd96c57191689260f5788e351ebd8640a3151e3 (patch)
tree07a9859e682f44f118d4e8e226bbc266ad5e3294
parent12109bc313d27751bc8ed154e8b21c9a812cf68f (diff)
build with -Werror
ok mlarkin@
-rw-r--r--sys/arch/riscv64/conf/Makefile.riscv643
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/riscv64/conf/Makefile.riscv64 b/sys/arch/riscv64/conf/Makefile.riscv64
index 5d757f75299..08112bbd630 100644
--- a/sys/arch/riscv64/conf/Makefile.riscv64
+++ b/sys/arch/riscv64/conf/Makefile.riscv64
@@ -36,8 +36,7 @@ INCLUDES= -nostdinc -I$S -I${.OBJDIR} -I$S/arch \
-I$S/dev/pci/drm/amd/display/dc/inc/hw \
-I$S/dev/pci/drm/amd/display/modules/inc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D__${_mach}__ -MD -MP
-# XXX -Werror removed to relax compile errors while building with -O0
-CWARNFLAGS= -Wall -Wimplicit-function-declaration \
+CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
-Wno-uninitialized -Wno-pointer-sign \
-Wno-constant-conversion -Wno-address-of-packed-member \
-Wframe-larger-than=2047