mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 04:22:44 +00:00
libzpool: Disable -Wpointer-to-int-cast warnings for GCC
This warning is already disabled for zfs.ko.
This commit is contained in:
parent
59884aea8b
commit
766c4ad385
@ -288,6 +288,8 @@ CSTD= c99
|
||||
|
||||
CFLAGS+= -g -DDEBUG=1
|
||||
|
||||
CFLAGS.gcc+= -Wno-pointer-to-int-cast
|
||||
|
||||
# Pointer values are used as debugging "tags" to mark reference count
|
||||
# ownerships and in some cases the tag reference is dropped after an
|
||||
# object is freed.
|
||||
|
Loading…
Reference in New Issue
Block a user