svn commit: r277225 - in head/sys: conf modules/cxgbe/if_cxgbe

Navdeep Parhar np at FreeBSD.org
Fri Jan 16 01:28:29 UTC 2015


Author: np
Date: Fri Jan 16 01:28:28 2015
New Revision: 277225
URL: https://svnweb.freebsd.org/changeset/base/277225

Log:
  Make cxgbe(4) buildable with the gcc in base.

Modified:
  head/sys/conf/files
  head/sys/modules/cxgbe/if_cxgbe/Makefile

Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files	Thu Jan 15 23:03:24 2015	(r277224)
+++ head/sys/conf/files	Fri Jan 16 01:28:28 2015	(r277225)
@@ -1141,7 +1141,7 @@ dev/cxgb/sys/uipc_mvec.c	optional cxgb p
 dev/cxgb/cxgb_t3fw.c		optional cxgb cxgb_t3fw \
 	compile-with "${NORMAL_C} -I$S/dev/cxgb"
 dev/cxgbe/t4_mp_ring.c		optional cxgbe pci \
-	compile-with "${NORMAL_C} -I$S/dev/cxgbe"
+	compile-with "${NORMAL_C} -I$S/dev/cxgbe -fms-extensions"
 dev/cxgbe/t4_main.c		optional cxgbe pci \
 	compile-with "${NORMAL_C} -I$S/dev/cxgbe"
 dev/cxgbe/t4_netmap.c		optional cxgbe pci \

Modified: head/sys/modules/cxgbe/if_cxgbe/Makefile
==============================================================================
--- head/sys/modules/cxgbe/if_cxgbe/Makefile	Thu Jan 15 23:03:24 2015	(r277224)
+++ head/sys/modules/cxgbe/if_cxgbe/Makefile	Fri Jan 16 01:28:28 2015	(r277225)
@@ -23,6 +23,6 @@ SRCS+=	t4_tracer.c
 # Provide the timestamp of a packet in its header mbuf.
 #CFLAGS+= -DT4_PKT_TIMESTAMP
 
-CFLAGS+= -I${CXGBE}
+CFLAGS+= -I${CXGBE} -fms-extensions
 
 .include <bsd.kmod.mk>


More information about the svn-src-head mailing list