mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-15 12:40:26 +03:00
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
Block a user