package/libgeos: disable package while building for Nios II
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Fri, 5 Mar 2021 16:00:05 +0000 (17:00 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 6 Mar 2021 10:20:03 +0000 (11:20 +0100)
This package fails to build with Nios II up to gcc version 10.x and no
work around has been found. So let's disable it whil building for Nios
II.

Fixes:
http://autobuild.buildroot.net/results/a05fdf1958f93a206c5c66c7f636b6650683626d

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libgeos/Config.in

index 9f02c8b13f713a00bfd9cea97cbcadb668d05dcc..2caf6d1d5efbae3e96522a4eded2a979d8242993 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBGEOS
        bool "libgeos"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR
+       depends on !BR2_nios2
        help
          GEOS (Geometry Engine - Open Source) is a C++ port of the
          JTS Topology Suite (JTS). It aims to contain the complete
@@ -13,3 +14,4 @@ config BR2_PACKAGE_LIBGEOS
 
 comment "libgeos needs a toolchain w/ C++, wchar"
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+       depends on !BR2_nios2