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

Giulio Benetti giulio.benetti at benettiengineering.com
Wed Mar 17 16:34:59 UTC 2021


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 at benettiengineering.com>
---
 package/libgeos/Config.in | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

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
-- 
2.25.1




More information about the buildroot mailing list