svn commit: r219649 - projects/ofed/head/sys/conf
Jeff Roberson
jeff at FreeBSD.org
Mon Mar 14 23:09:16 UTC 2011
Author: jeff
Date: Mon Mar 14 23:09:15 2011
New Revision: 219649
URL: http://svn.freebsd.org/changeset/base/219649
Log:
- Add -fms-extensions to the OFED compile line to support anonymous
unions.
Modified:
projects/ofed/head/sys/conf/kern.pre.mk
Modified: projects/ofed/head/sys/conf/kern.pre.mk
==============================================================================
--- projects/ofed/head/sys/conf/kern.pre.mk Mon Mar 14 22:51:51 2011 (r219648)
+++ projects/ofed/head/sys/conf/kern.pre.mk Mon Mar 14 23:09:15 2011 (r219649)
@@ -148,7 +148,7 @@ NORMAL_LINT= ${LINT} ${LINTFLAGS} ${CFLA
# Infiniband C flags. Correct include paths and omit errors that linux
# does not honor.
OFEDINCLUDES= -I$S/ofed/include/
-OFEDNOERR= -Wno-cast-qual -Wno-pointer-arith
+OFEDNOERR= -Wno-cast-qual -Wno-pointer-arith -fms-extensions
OFEDCFLAGS= ${CFLAGS:N-I*} ${OFEDINCLUDES} ${CFLAGS:M-I*} ${OFEDNOERR}
OFED_C_NOIMP= ${CC} -c -o ${.TARGET} ${OFEDCFLAGS} ${WERROR} ${PROF}
OFED_C= ${OFED_C_NOIMP} ${.IMPSRC}
More information about the svn-src-projects
mailing list