summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcopy-builtin7
1 files changed, 5 insertions, 2 deletions
diff --git a/copy-builtin b/copy-builtin
index 716d2022c..d04314bb3 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) :=