diff options
author | John Baldwin <jhb@FreeBSD.org> | 2024-05-07 19:32:58 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2024-05-07 20:54:00 +0000 |
commit | 766c4ad385ccf96f8cf10129363a6bfa58b3e92f (patch) | |
tree | eb33e9c9adcd055a33e41e68f97910961a8a19db /cddl | |
parent | 59884aea8b98781ecc7ad2d490a9210aab750de3 (diff) | |
download | src-766c4ad385ccf96f8cf10129363a6bfa58b3e92f.tar.gz src-766c4ad385ccf96f8cf10129363a6bfa58b3e92f.zip |
libzpool: Disable -Wpointer-to-int-cast warnings for GCC
This warning is already disabled for zfs.ko.
Diffstat (limited to 'cddl')
-rw-r--r-- | cddl/lib/libzpool/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cddl/lib/libzpool/Makefile b/cddl/lib/libzpool/Makefile index f641edaccb52..149c14919028 100644 --- a/cddl/lib/libzpool/Makefile +++ b/cddl/lib/libzpool/Makefile @@ -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. |