mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
config: check for -Wno-cast-function-type
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Rich Ercolani <rincebrain@gmail.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13145 Closes #13152
This commit is contained in:
@@ -26,8 +26,8 @@ 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
|
||||
kernel.$(OBJEXT): CFLAGS += $(NO_CAST_FUNCTION_TYPE)
|
||||
kernel.l$(OBJEXT): CFLAGS += $(NO_CAST_FUNCTION_TYPE)
|
||||
|
||||
lib_LTLIBRARIES = libzpool.la
|
||||
|
||||
|
||||
Reference in New Issue
Block a user