Update 04-fix_kmod.sh

This commit is contained in:
2025-11-06 22:11:16 +08:00
committed by GitHub
parent 85fc352900
commit f8b9bc3673

View File

@@ -67,4 +67,6 @@ popd
curl -s $mirror/openwrt/patch/packages-patches/batman-adv/901-fix-linux-6.12rc2-builds.patch > feeds/routing/batman-adv/patches/901-fix-linux-6.12rc2-builds.patch
# coova-chilli - fix gcc 15 c23
[ "$gcc" = 15 ] && sed -i '/TARGET_CFLAGS/s/$/ -std=gnu17/' feeds/packages/net/coova-chilli/Makefile
if [ "$gcc" = 15 ]; then
sed -i '/TARGET_CFLAGS/s/$/ -std=gnu17/' feeds/packages/net/coova-chilli/Makefile
fi