summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2017-03-09 02:47:01 +0000
committerpfg <pfg@FreeBSD.org>2017-03-09 02:47:01 +0000
commit6fb7ce40ee71e49327f52fa2f31ae663145b3efa (patch)
treef1fc33ab85afecbc6f0396846a434683fa63ef31 /sys/modules
parent6c38d50faa9c92a36ed5b3d48a0b9a310eedd8a3 (diff)
downloadFreeBSD-src-6fb7ce40ee71e49327f52fa2f31ae663145b3efa.zip
FreeBSD-src-6fb7ce40ee71e49327f52fa2f31ae663145b3efa.tar.gz
Revert 294545:
Bringing back ext4: add support for reading sparse files Add GCC_MS_EXTENSIONS to the CFLAGS in the module to make the old GCC in base happy. This workaround is only required in stable/10.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/ext2fs/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/modules/ext2fs/Makefile b/sys/modules/ext2fs/Makefile
index fc10ab0..fa908fa 100644
--- a/sys/modules/ext2fs/Makefile
+++ b/sys/modules/ext2fs/Makefile
@@ -7,4 +7,7 @@ SRCS= opt_ddb.h opt_directio.h opt_quota.h opt_suiddir.h vnode_if.h \
ext2_htree.c ext2_inode.c ext2_inode_cnv.c ext2_lookup.c ext2_subr.c \
ext2_vfsops.c ext2_vnops.c
+# Uses unamed union fields
+CFLAGS+= ${GCC_MS_EXTENSIONS}
+
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud