ofed: fix the WITH_OFED_EXTRA build

This option was not tested when WARNS was globally lifted in the src tree up
to 6.  Drop WARNS back down to unbreak the build; note that this is still
enabling more warnings than it had before the WARNS change, so the gcc build
may need to be independently evaluated at this level.

PR:		252865

(cherry picked from commit 9ca71db495)
This commit is contained in:
Kyle Evans 2021-01-29 23:48:28 -06:00
parent 8a680912a1
commit 1535f67017

View file

@ -99,4 +99,6 @@ CFLAGS+= -I${_spath:H} -DHAVE_CONFIG_H=1
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
LIBADD= opensm osmvendor osmcomp wrap pthread
WARNS?= 2
.include <bsd.prog.mk>