summaryrefslogtreecommitdiffstats
path: root/sys/modules/mlx4
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-01-05 15:39:37 +0000
committerdim <dim@FreeBSD.org>2014-01-05 15:39:37 +0000
commitdafd81e458aa56a9841e3c51b18340409c362b0b (patch)
treee080861742d5a2a513e113253e09a9e5f54ee3c6 /sys/modules/mlx4
parente3ce8ac51cdbc777c2e1d9b988232c3dd95251a1 (diff)
downloadFreeBSD-src-dafd81e458aa56a9841e3c51b18340409c362b0b.zip
FreeBSD-src-dafd81e458aa56a9841e3c51b18340409c362b0b.tar.gz
Revert MFC of r260102 for now, until I can merge the required fix from
head. This should fix building modules which require -fms-extensions to compile them with gcc.
Diffstat (limited to 'sys/modules/mlx4')
-rw-r--r--sys/modules/mlx4/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/modules/mlx4/Makefile b/sys/modules/mlx4/Makefile
index 02ee176..e316613 100644
--- a/sys/modules/mlx4/Makefile
+++ b/sys/modules/mlx4/Makefile
@@ -27,6 +27,7 @@ opt_inet6.h:
.include <bsd.kmod.mk>
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}
+CFLAGS+= -Wno-cast-qual -Wno-pointer-arith -fms-extensions
CWARNFLAGS.mcg.c= -Wno-unused
CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
OpenPOWER on IntegriCloud