For sys/ofed/drivers/infiniband/core/cm.c, disable warning about unused
functions for now. MFC after: 3 days
This commit is contained in:
parent
24da2fe3d0
commit
d33c250878
@ -3461,7 +3461,7 @@ ofed/drivers/infiniband/core/mad.c optional ofed \
|
||||
compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/core/"
|
||||
ofed/drivers/infiniband/core/cm.c optional ofed \
|
||||
no-depend \
|
||||
compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/core/"
|
||||
compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/core/ -Wno-unused-function"
|
||||
ofed/drivers/infiniband/core/cma.c optional ofed \
|
||||
no-depend \
|
||||
compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/core/"
|
||||
|
@ -21,3 +21,6 @@ CFLAGS+= -DINET6 -DINET -DOFED
|
||||
.include <bsd.kmod.mk>
|
||||
|
||||
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}
|
||||
|
||||
CWARNFLAGS.cm.c= -Wno-unused-function
|
||||
CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
|
||||
|
Loading…
Reference in New Issue
Block a user