diff --git a/module/Makefile.bsd b/module/Makefile.bsd index dc6cc2b742..6bd78690fa 100644 --- a/module/Makefile.bsd +++ b/module/Makefile.bsd @@ -320,6 +320,7 @@ beforeinstall: CFLAGS.gcc+= -Wno-pointer-to-int-cast +CFLAGS.clang+= ${NO_WUNUSED_BUT_SET_VARIABLE} CFLAGS.lapi.c= -Wno-cast-qual CFLAGS.lcompat.c= -Wno-cast-qual