Skip to content

Commit a55caaa

Browse files
committed
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>
1 parent 8d0ba1c commit a55caaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/libutp/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ endef
2929
CMAKE_OPTIONS += \
3030
-DLIBUTP_SHARED:BOOL=YES \
3131
-DLIBUTP_ENABLE_INSTALL:BOOL=YES \
32-
-DLIBUTP_ENABLE_WERROR:BOOL=YES \
32+
-DLIBUTP_ENABLE_WERROR:BOOL=NO \
3333
-DLIBUTP_BUILD_PROGRAMS:BOOL=NO
3434

3535
define Build/InstallDev

0 commit comments

Comments
 (0)