From 78957c7cb045e2debf187ef2d0aabf6092952281 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 21 Feb 2026 19:46:11 +0100 Subject: [PATCH] libutp: deactivate -Werror With fortify sources libutp fails to compile because the fortify sources for musl use the GNU extension include_next. Do not fail when the compiler issues a warning. Fixes the following compile error: ``` In file included from libutp-2023.02.14~c95738b1/utp_utils.cpp:23: /include/fortify/stdlib.h:22:2: error: #include_next is a GCC extension [-Werror] 22 | #include_next | ^~~~~~~~~~~~ ``` Signed-off-by: Hauke Mehrtens (cherry picked from commit 0814aba3b043fee9df5f43edcb965053acbfb631) --- libs/libutp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libutp/Makefile b/libs/libutp/Makefile index 025669ed95ed76..192153d551afc2 100644 --- a/libs/libutp/Makefile +++ b/libs/libutp/Makefile @@ -29,7 +29,7 @@ endef CMAKE_OPTIONS += \ -DLIBUTP_SHARED:BOOL=YES \ -DLIBUTP_ENABLE_INSTALL:BOOL=YES \ - -DLIBUTP_ENABLE_WERROR:BOOL=YES \ + -DLIBUTP_ENABLE_WERROR:BOOL=NO \ -DLIBUTP_BUILD_PROGRAMS:BOOL=NO define Build/InstallDev