qca-nss-clients: fix compilation with GCC 13

This commit is contained in:
bitthief 2023-05-08 19:12:40 +03:00
parent 7798c20353
commit 76965b65ed

View File

@ -524,6 +524,10 @@ NSS_CLIENTS_MAKE_OPTS+=lag-mgr=y
endif
ifneq ($(CONFIG_PACKAGE_kmod-qca-nss-drv-pvxlanmgr),)
# The memset() call in nss_pvxlanmgr_get_tunnel_stats
# triggers a compilation error with GCC 13, most likely
# it is a false positive, disable the warning for now.
EXTRA_CFLAGS+= -Wno-stringop-overread
NSS_CLIENTS_MAKE_OPTS+=pvxlanmgr=y
endif