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

This warning is already disabled for zfs.ko.
main
John Baldwin 2024-05-07 12:32:58 -07:00
parent 59884aea8b
commit 766c4ad385
1 changed files with 2 additions and 0 deletions

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.