From a4472c1772bddf02648b159ce03f87d9f9f94ceb Mon Sep 17 00:00:00 2001 From: remittor Date: Sat, 21 Feb 2026 08:39:57 +0300 Subject: [PATCH] xmake: Fix compile libutp --- xmake.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xmake.sh b/xmake.sh index 6944fba..c10c388 100755 --- a/xmake.sh +++ b/xmake.sh @@ -167,6 +167,14 @@ function build_target { fi fi + LIBUTP_MK=$XDIR/package/feeds/packages/libutp/Makefile + if [ -f $LIBUTP_MK ]; then + if grep -q 'DLIBUTP_ENABLE_WERROR:BOOL=YES' $LIBUTP_MK ; then + sed -i 's/-DLIBUTP_ENABLE_WERROR:BOOL=YES/-DLIBUTP_ENABLE_WERROR:BOOL=NO/' $LIBUTP_MK + echo ">>> libutp patched !!! (disable Werror)" + fi + fi + RAB_LUCI_MK=$XDIR/package/feeds/_ruantiblock/luci-app-ruantiblock/Makefile if [ -f $RAB_LUCI_MK ]; then if ! grep "PKG_PROVIDES" $RAB_LUCI_MK >/dev/null ; then