libzpool: kernel: silence unrelated-function-pointer cast warning
Reviewed-by: Alejandro Colomar <alx.manpages@gmail.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13110
This commit is contained in:
parent
d8552689d1
commit
a215c3e834
|
@ -24,6 +24,11 @@ AM_CFLAGS += $(ZLIB_CFLAGS)
|
|||
|
||||
AM_CFLAGS += -DLIB_ZPOOL_BUILD
|
||||
|
||||
# For the void (*)(void *) -> void *(*)(void *) cast in zk_thread_create()
|
||||
# See https://github.com/openzfs/zfs/pull/13110#discussion_r808450136
|
||||
kernel.$(OBJEXT): CFLAGS += -Wno-cast-function-type
|
||||
kernel.l$(OBJEXT): CFLAGS += -Wno-cast-function-type
|
||||
|
||||
lib_LTLIBRARIES = libzpool.la
|
||||
|
||||
USER_C = \
|
||||
|
|
Loading…
Reference in New Issue