From b1dab9d1dc94e4510116c839d967e237cac9f86e Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 23 Apr 2021 12:09:45 +0000 Subject: [PATCH] build with -Werror ok mlarkin@ --- sys/arch/riscv64/conf/Makefile.riscv64 | 3 +-- 1 file changed, 1 insertion(+), 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 -- 2.20.1