package/libgeos: fix build failure due to Gcc Bug 68485
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Fri, 12 Feb 2021 22:42:38 +0000 (23:42 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 13 Feb 2021 21:51:14 +0000 (22:51 +0100)
commit847b441b1ca2230c4f26a49aaede69eca5e7e7ad
treeeb28386a8bfafb3a1dea9983504756d02edb3e7d
parent237df117c1efb0260cda194cd2d8037498313e9d
package/libgeos: fix build failure due to Gcc Bug 68485

Package libgeos manifests Microblaze Gcc Bug 68485 resulting in a build
failure due to an Internal Compiler Error.

As done for other packages in Buildroot work around this Gcc Bug by
setting optimization to -O0 if BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y.

Fixes:
http://autobuild.buildroot.net/results/0da/0daa6b259aea5381fad86d01e6dd026b1c8ad073/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libgeos/libgeos.mk