diff mbox series

[2/2] package/libgeos: use specific bug instead of BR2_nios2 to disable package

Message ID 20210317163459.1916948-2-giulio.benetti@benettiengineering.com
State New
Headers show
Series [1/2] toolchain: introduce BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 | expand

Commit Message

Giulio Benetti March 17, 2021, 4:34 p.m. UTC
Let's use the _BUG_ form for disabling this package instead of BR2_nios2
architecture as we already use it for other packages.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 package/libgeos/Config.in | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/package/libgeos/Config.in b/package/libgeos/Config.in
index bbcafe7740..8759d2011e 100644
--- a/package/libgeos/Config.in
+++ b/package/libgeos/Config.in
@@ -2,7 +2,7 @@  config BR2_PACKAGE_LIBGEOS
 	bool "libgeos"
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR
-	depends on !BR2_nios2
+	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
 	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
 	help
 	  GEOS (Geometry Engine - Open Source) is a C++ port of the
@@ -14,5 +14,6 @@  config BR2_PACKAGE_LIBGEOS
 	  https://trac.osgeo.org/geos
 
 comment "libgeos needs a toolchain w/ C++, wchar"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
-	depends on !BR2_nios2 || !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+		   !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 || \
+		   !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464