diff options
| author | Hauke Mehrtens | 2026-02-21 18:46:11 +0000 |
|---|---|---|
| committer | Daniel Golle | 2026-02-21 22:27:11 +0000 |
| commit | 0814aba3b043fee9df5f43edcb965053acbfb631 (patch) | |
| tree | c6fee199f05fdc123961528e24596c574f9abb7e | |
| parent | 8d0ba1c1702ccead9f6fad9ddf91ae3f4826c5c1 (diff) | |
| download | packages-0814aba3b043fee9df5f43edcb965053acbfb631.tar.gz | |
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 <stdlib.h>
| ^~~~~~~~~~~~
```
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | libs/libutp/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libutp/Makefile b/libs/libutp/Makefile index d01887a821..09d5eb98e6 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 |