diff options
author | Warner Losh <imp@FreeBSD.org> | 2019-08-25 22:06:17 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2019-08-25 22:06:17 +0000 |
commit | 32e6af4641676362d6605ca66074568299343028 (patch) | |
tree | eacb45745309ff57572920576a899d6e7d1b331b /sys/modules/linux | |
parent | b48d4efe750d119d7d5911065e3f5a66150f8c01 (diff) |
Replace -Werror with ${WERROR} in module builds
Notes
Notes:
svn path=/head/; revision=351497
Diffstat (limited to 'sys/modules/linux')
-rw-r--r-- | sys/modules/linux/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 \ |