libutp: deactivate -Werror
authorHauke Mehrtens <redacted>
Sat, 21 Feb 2026 18:46:11 +0000 (19:46 +0100)
committerDaniel Golle <redacted>
Sat, 21 Feb 2026 22:27:11 +0000 (22:27 +0000)
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 <stdlib.h>
      |  ^~~~~~~~~~~~
```

Signed-off-by: Hauke Mehrtens <redacted>
libs/libutp/Makefile

index d01887a8219747e16687ae1476f3174728f7ca3d..09d5eb98e6ae6321678731ba203b739e979e9dee 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT