From 32e6af4641676362d6605ca66074568299343028 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sun, 25 Aug 2019 22:06:17 +0000 Subject: Replace -Werror with ${WERROR} in module builds --- sys/modules/linux/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/modules/linux') diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index e2d6d6056c44..6570b8d86e33 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -55,7 +55,7 @@ linux${SFX}_assym.h: linux${SFX}_genassym.o linux${SFX}_locore.o: linux${SFX}_assym.h assym.inc ${CC} -x assembler-with-cpp -DLOCORE -m32 -shared -s \ - -pipe -I. -I${SYSDIR} -Werror -Wall -fno-common -nostdinc -nostdlib \ + -pipe -I. -I${SYSDIR} ${WERROR} -Wall -fno-common -nostdinc -nostdlib \ -fno-omit-frame-pointer -fPIC \ -Wl,-T${SRCTOP}/sys/${MACHINE_CPUARCH}/linux${SFX}/${VDSO}.lds.s \ -Wl,-soname=${VDSO}.so.1,--eh-frame-hdr,-warn-common \ -- cgit v1.2.3