mirror of
https://github.com/openwrt/packages.git
synced 2026-10-14 05:36:34 +04:00
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>
(cherry picked from commit 0814aba3b0)
This commit is contained in:
1 parent
31801609eb
commit
9968bbee18
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user