libzpool: Disable -Wpointer-to-int-cast warnings for GCC

This warning is already disabled for zfs.ko.
This commit is contained in:
John Baldwin 2024-05-07 12:32:58 -07:00
parent 59884aea8b
commit 766c4ad385

View File

@ -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.