svn commit: r242842 - in head/sys: conf modules/mthca
Xin LI
delphij at FreeBSD.org
Sat Nov 10 00:32:47 UTC 2012
Author: delphij
Date: Sat Nov 10 00:32:47 2012
New Revision: 242842
URL: http://svnweb.freebsd.org/changeset/base/242842
Log:
Attempt toward a buildable universe by silenting a few warnings for OFED.
Modified:
head/sys/conf/kern.pre.mk
head/sys/modules/mthca/Makefile
Modified: head/sys/conf/kern.pre.mk
==============================================================================
--- head/sys/conf/kern.pre.mk Fri Nov 9 21:41:07 2012 (r242841)
+++ head/sys/conf/kern.pre.mk Sat Nov 10 00:32:47 2012 (r242842)
@@ -156,7 +156,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 -fms-extensions
+OFEDNOERR= -Wno-cast-qual -Wno-pointer-arith -fms-extensions -Wno-switch -Wno-sometimes-uninitialized -Wno-conversion -Wno-initializer-overrides
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}
Modified: head/sys/modules/mthca/Makefile
==============================================================================
--- head/sys/modules/mthca/Makefile Fri Nov 9 21:41:07 2012 (r242841)
+++ head/sys/modules/mthca/Makefile Sat Nov 10 00:32:47 2012 (r242842)
@@ -28,4 +28,4 @@ opt_inet6.h:
.include <bsd.kmod.mk>
-CFLAGS+= -Wno-cast-qual -Wno-pointer-arith -fms-extensions
+CFLAGS+= -Wno-cast-qual -Wno-pointer-arith -fms-extensions -Wno-switch -Wno-sometimes-uninitialized -Wno-conversion -Wno-initializer-overrides
More information about the svn-src-head
mailing list