From: jsg Date: Fri, 23 Apr 2021 12:09:45 +0000 (+0000) Subject: build with -Werror X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b1dab9d1dc94e4510116c839d967e237cac9f86e;p=openbsd build with -Werror ok mlarkin@ --- 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