[Buildroot] [git commit branch/2022.02.x] package/usbguard: needs gcc >= 8
Peter Korsgaard
peter at korsgaard.com
Sat Sep 17 08:11:12 UTC 2022
commit: https://git.buildroot.net/buildroot/commit/?id=86b97b317474d9f4bcdab8ea926a2026265f17d7
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x
Fix the following build failure raised since the addition of the package
in commit fbff7d7289cc95db991184f890f4ca1fcf8a101e and
https://github.com/USBGuard/usbguard/commit/4b4551023e3298a3639d2c52c559556dbe8d2d54:
checking whether we need to link to -lstdc++fs for PEGTL explicitly... ERROR
configure: error: Link test failed both with and without -lstdc++fs; something is broken, please check file config.log for details.
Fixes:
- http://autobuild.buildroot.org/results/511c47802ce171caeeb9919371c58e6ad2d11a78
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 442cbf469131fd27d3db7326ff8fc3464cf1b005)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/usbguard/Config.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/usbguard/Config.in b/package/usbguard/Config.in
index ca6d52034b..458caf960d 100644
--- a/package/usbguard/Config.in
+++ b/package/usbguard/Config.in
@@ -3,7 +3,7 @@ config BR2_PACKAGE_USBGUARD
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
depends on BR2_INSTALL_LIBSTDCPP # protobuf
depends on BR2_TOOLCHAIN_HAS_THREADS # libqb, protobuf
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17 filesystem
depends on !BR2_STATIC_LIBS # libqb, protobuf
depends on !BR2_TOOLCHAIN_USES_MUSL
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
@@ -19,9 +19,9 @@ config BR2_PACKAGE_USBGUARD
https://usbguard.github.io/
-comment "usbguard needs a glibc or uClibc toolchain w/ C++, threads, dynamic library, gcc >= 4.8"
+comment "usbguard needs a glibc or uClibc toolchain w/ C++, threads, dynamic library, gcc >= 8"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
- || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
+ || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_8 \
|| BR2_TOOLCHAIN_USES_MUSL
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
More information about the buildroot
mailing list