Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2015 01:28:28 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r277225 - in head/sys: conf modules/cxgbe/if_cxgbe
Message-ID:  <201501160128.t0G1SSfi024070@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501160128.t0G1SSfi024070>