FreeBSD: Silence clang unused-but-set-variable

Quick and dirty build fix for warnings being treated as errors.

Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
This commit is contained in:
Ryan Moeller 2022-06-15 15:18:41 +00:00 committed by Tony Hutter
parent 6ff89fe126
commit 403d4bc66e
1 changed files with 1 additions and 0 deletions

View File

@ -320,6 +320,7 @@ beforeinstall:
CFLAGS.gcc+= -Wno-pointer-to-int-cast CFLAGS.gcc+= -Wno-pointer-to-int-cast
CFLAGS.clang+= ${NO_WUNUSED_BUT_SET_VARIABLE}
CFLAGS.lapi.c= -Wno-cast-qual CFLAGS.lapi.c= -Wno-cast-qual
CFLAGS.lcompat.c= -Wno-cast-qual CFLAGS.lcompat.c= -Wno-cast-qual