diff --git a/copy-builtin b/copy-builtin index 716d2022c7..d04314bb36 100755 --- a/copy-builtin +++ b/copy-builtin @@ -59,8 +59,11 @@ EOF { cat <<-"EOF" - ZFS_MODULE_CFLAGS = -I$(srctree)/include/zfs -I$(srctree)/include/spl - ZFS_MODULE_CFLAGS += -include $(srctree)/spl_config.h -include $(srctree)/zfs_config.h + ZFS_MODULE_CFLAGS = -I$(srctree)/include/zfs + 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 obj-$(CONFIG_ZFS) :=