aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/libzpool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/lib/libzpool/Makefile')
-rw-r--r--cddl/lib/libzpool/Makefile2
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.