mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue