For sys/ofed/drivers/infiniband/hw/mlx4/mcg.c, disable warning about
unused variables for now. MFC after: 3 days
This commit is contained in:
parent
198f573526
commit
ff96238951
@ -3569,7 +3569,7 @@ ofed/drivers/infiniband/hw/mlx4/alias_GUID.c optional mlx4ib \
|
||||
compile-with "${OFED_C_NOIMP} -I$S/ofed/drivers/infiniband/hw/mlx4/"
|
||||
ofed/drivers/infiniband/hw/mlx4/mcg.c optional mlx4ib \
|
||||
no-depend obj-prefix "mlx4ib_" \
|
||||
compile-with "${OFED_C_NOIMP} -I$S/ofed/drivers/infiniband/hw/mlx4/"
|
||||
compile-with "${OFED_C_NOIMP} -I$S/ofed/drivers/infiniband/hw/mlx4/ -Wno-unused"
|
||||
ofed/drivers/infiniband/hw/mlx4/sysfs.c optional mlx4ib \
|
||||
no-depend obj-prefix "mlx4ib_" \
|
||||
compile-with "${OFED_C_NOIMP} -I$S/ofed/drivers/infiniband/hw/mlx4/"
|
||||
|
@ -27,3 +27,6 @@ opt_inet6.h:
|
||||
.include <bsd.kmod.mk>
|
||||
|
||||
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}
|
||||
|
||||
CWARNFLAGS.mcg.c= -Wno-unused
|
||||
CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
|
||||
|
Loading…
Reference in New Issue
Block a user