mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00

* package: sync with upstream Removed: package/libs/libselinux/bcm27xx-userland (Already in package/utils/bcm27xx-userland) Signed-off-by: Linhui Liu <liulinhui36@gmail.com> * uclibc++: remove No package here depends on it. Furthermore, uClibc++ is a fairly buggy C++ library and seems to be relatively inactive upstream. It also lacks proper support for modern C++11 features. The main benefit of it is size: 66.6 KB vs 287.3 KB on mips24kc. Static linking and LTO can help bring the size down of packages that need it. Added warning message to uclibc++.mk Signed-off-by: Rosen Penev <rosenp@gmail.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> * target: sync with upstream Signed-off-by: Linhui Liu <liulinhui36@gmail.com> * toolchain: gcc: Remove gcc 10.x support This compiler is old and was never used by default in OpenWrt. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * ucode: update to latest Git HEAD 46d93c9 tests: fixup testcases 4c654df types: adjust double printing format eac2add compiler: fix bytecode for logical assignments of properties 3903b18 fs: add `realpath()` function 8366102 math: add isnan() function eef83d3 tests: relax sleep() test 394e901 lib: uc_json(): accept trailing whitespace when parsing strings 1867c8b uloop: terminate parent uloop in task child processes d2cc003 uci: auto-load package in `ctx.foreach()` and `ctx.get_first()` 6c5ee53 compiler: ensure that arrow functions with block bodies return no value fdc9b6a compiler: fix `??=`, `||=` and `&&=` logical assignment semantics 88dcca7 add cmake to install requires for debian Signed-off-by: Jo-Philipp Wich <jo@mein.io> * firewall4: update to latest Git HEAD 700a925 fw4: prevent null access when no ipsets are defined 6443ec7 config: drop input traffic by default 119ee1a ruleset: drop ctstate invalid traffic for masq-enabled zones Signed-off-by: Jo-Philipp Wich <jo@mein.io> * ustream-ssl: update to Git version 2022-12-07 9217ab4 ustream-openssl: Disable renegotiation in TLSv1.2 and earlier 2ce1d48 ci: fix building with i.MX6 SDK 584f1f6 ustream-openssl: wolfSSL: provide detailed information in debug builds aa8c48e cmake: add a possibility to set library version Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * tools/mpfr: import patch fixing macro bug Co-authored-by: Nick Hainke <vincent@systemli.org> Signed-off-by: Linhui Liu <liulinhui36@gmail.com> Signed-off-by: Linhui Liu <liulinhui36@gmail.com> Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Jo-Philipp Wich <jo@mein.io> Co-authored-by: Rosen Penev <rosenp@gmail.com> Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de> Co-authored-by: Jo-Philipp Wich <jo@mein.io> Co-authored-by: Nick Hainke <vincent@systemli.org>
81 lines
2.1 KiB
Diff
81 lines
2.1 KiB
Diff
From 821a1d3fcce31c234512a8f4dc4fc97dfbd7ae32 Mon Sep 17 00:00:00 2001
|
|
From: Nick Hainke <vincent@systemli.org>
|
|
Date: Mon, 4 Jul 2022 09:46:10 +0200
|
|
Subject: [PATCH] configure.ac: fix cross compilation
|
|
|
|
AC_CHECK_LIB seems to not work correctly with OpenWrt. Add possibility
|
|
to disable lz4 and lzo2 manually.
|
|
|
|
Fixes errors in the form of:
|
|
Package f2fsck is missing dependencies for the following libraries:
|
|
liblz4.so.1
|
|
liblzo2.so.2
|
|
|
|
Signed-off-by: Nick Hainke <vincent@systemli.org>
|
|
---
|
|
configure.ac | 44 ++++++++++++++++++++++++++++++++++----------
|
|
1 file changed, 34 insertions(+), 10 deletions(-)
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -50,6 +50,18 @@ AC_ARG_WITH([blkid],
|
|
[],
|
|
[with_blkid=check])
|
|
|
|
+AC_ARG_WITH([lzo2],
|
|
+ [AS_HELP_STRING([--without-lzo2],
|
|
+ [Ignore presence of liblzo2 and disable lzo2 support])],
|
|
+ [],
|
|
+ [with_lzo2=check])
|
|
+
|
|
+AC_ARG_WITH([lz4],
|
|
+ [AS_HELP_STRING([--without-lz4],
|
|
+ [Ignore presence of liblz4 and disable lz4 support])],
|
|
+ [],
|
|
+ [with_lz4=check])
|
|
+
|
|
# Checks for programs.
|
|
AC_PROG_CC
|
|
AM_PROG_AR
|
|
@@ -71,17 +83,29 @@ AS_IF([test "x$with_blkid" != xno],
|
|
fi
|
|
], -lblkid)])
|
|
|
|
-AC_CHECK_LIB([lzo2], [main],
|
|
- [AC_SUBST([liblzo2_LIBS], ["-llzo2"])
|
|
- AC_DEFINE([HAVE_LIBLZO2], [1],
|
|
- [Define if you have liblzo2])
|
|
- ], [], [])
|
|
-
|
|
-AC_CHECK_LIB([lz4], [main],
|
|
- [AC_SUBST([liblz4_LIBS], ["-llz4"])
|
|
- AC_DEFINE([HAVE_LIBLZ4], [1],
|
|
- [Define if you have liblz4])
|
|
- ], [], [])
|
|
+AS_IF([test "x$with_lzo2" != xno],
|
|
+ [AC_CHECK_LIB([lzo2], [main],
|
|
+ [AC_SUBST([liblzo2_LIBS], ["-llzo2"])
|
|
+ AC_DEFINE([HAVE_LIBLZO2], [1],
|
|
+ [Define if you have liblzo2])
|
|
+ ],
|
|
+ [if test "x$with_lzo2" != xcheck; then
|
|
+ AC_MSG_FAILURE(
|
|
+ [--with-lzo2 was given, but test for lzo2 failed])
|
|
+ fi
|
|
+ ], -llzo2)])
|
|
+
|
|
+AS_IF([test "x$with_lz4" != xno],
|
|
+ [AC_CHECK_LIB([lz4], [main],
|
|
+ [AC_SUBST([liblz4_LIBS], ["-llz4"])
|
|
+ AC_DEFINE([HAVE_LIBLZ4], [1],
|
|
+ [Define if you have liblz4])
|
|
+ ],
|
|
+ [if test "x$with_lz4" != xcheck; then
|
|
+ AC_MSG_FAILURE(
|
|
+ [--with-lz4 was given, but test for lz4 failed])
|
|
+ fi
|
|
+ ], -llz4)])
|
|
|
|
AS_IF([test "x$with_selinux" != xno],
|
|
[AC_CHECK_LIB([selinux], [getcon],
|