mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
Fix copy-builtin to work with ASAN patch
Commit fed90353
didn't fully update the copy-builtin script
as needed to perform in-kernel builds. Add the missing
options and flags.
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matthew Thode <mthode@mthode.org>
Closes #7033
Closes #7037
This commit is contained in:
parent
e1a0850c35
commit
c10cdcb55f
@ -63,8 +63,10 @@ EOF
|
||||
ZFS_MODULE_CFLAGS += -I$(srctree)/include/spl
|
||||
ZFS_MODULE_CFLAGS += -include $(srctree)/spl_config.h
|
||||
ZFS_MODULE_CFLAGS += -include $(srctree)/zfs_config.h
|
||||
ZFS_MODULE_CLFAGS += -std=gnu99
|
||||
export ZFS_MODULE_CFLAGS
|
||||
ZFS_MODULE_CFLAGS += -std=gnu99 -Wno-declaration-after-statement
|
||||
ZFS_MODULE_CPPFLAGS = -DHAVE_SPL -D_KERNEL
|
||||
ZFS_MODULE_CPPFLAGS += -UDEBUG -DNDEBUG
|
||||
export ZFS_MODULE_CFLAGS ZFS_MODULE_CPPFLAGS
|
||||
|
||||
obj-$(CONFIG_ZFS) :=
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user