mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
config: add and use KERNEL_CC check for -Wno-format-zero-length
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name> Closes #16997
This commit is contained in:
committed by
Brian Behlendorf
parent
e903177b56
commit
14bad10f96
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
ZFS_MODULE_CFLAGS += -std=gnu99 -Wno-declaration-after-statement
|
||||
ZFS_MODULE_CFLAGS += -Wmissing-prototypes
|
||||
ZFS_MODULE_CFLAGS += @KERNEL_DEBUG_CFLAGS@ @NO_FORMAT_ZERO_LENGTH@
|
||||
ZFS_MODULE_CFLAGS += @KERNEL_DEBUG_CFLAGS@ @KERNEL_NO_FORMAT_ZERO_LENGTH@
|
||||
|
||||
ifneq ($(KBUILD_EXTMOD),)
|
||||
zfs_include = @abs_top_srcdir@/include
|
||||
|
||||
Reference in New Issue
Block a user