Date: Sat, 24 Jan 2015 04:41:15 +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: r277637 - in head/sys: conf modules/cxgbe/if_cxgbe Message-ID: <201501240441.t0O4fFG3025928@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Sat Jan 24 04:41:14 2015 New Revision: 277637 URL: https://svnweb.freebsd.org/changeset/base/277637 Log: Make sure the compiler flag to get cxgbe(4) to compile with gcc is used only when gcc is being used. This is what r277225 should have been. Suggested by: dim@ Modified: head/sys/conf/files head/sys/modules/cxgbe/if_cxgbe/Makefile Modified: head/sys/conf/files ============================================================================== --- head/sys/conf/files Sat Jan 24 03:04:08 2015 (r277636) +++ head/sys/conf/files Sat Jan 24 04:41:14 2015 (r277637) @@ -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 -fms-extensions" + compile-with "${NORMAL_C} -I$S/dev/cxgbe ${GCC_MS_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 Sat Jan 24 03:04:08 2015 (r277636) +++ head/sys/modules/cxgbe/if_cxgbe/Makefile Sat Jan 24 04:41:14 2015 (r277637) @@ -23,6 +23,7 @@ SRCS+= t4_tracer.c # Provide the timestamp of a packet in its header mbuf. #CFLAGS+= -DT4_PKT_TIMESTAMP -CFLAGS+= -I${CXGBE} -fms-extensions +CFLAGS+= -I${CXGBE} .include <bsd.kmod.mk> +CFLAGS+= ${GCC_MS_EXTENSIONS}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501240441.t0O4fFG3025928>