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:
parent
6ff89fe126
commit
403d4bc66e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue