[Buildroot] [PATCH 16/27] package/libspatialindex: use common BR2_TOOLCHAIN_HAS_BUG_68485

Giulio Benetti giulio.benetti at micronovasrl.com
Fri Jun 14 21:03:35 UTC 2019


For consistency with the rest of packages let's use common
BR2_TOOLCHAIN_HAS_BUG_68485 instead of !BR2_microblaze condition with
comment on top of it.

Signed-off-by: Giulio Benetti <giulio.benetti at micronovasrl.com>
---
 package/libspatialindex/libspatialindex.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/libspatialindex/libspatialindex.mk b/package/libspatialindex/libspatialindex.mk
index 3a558dfc7e..8dd85e2700 100644
--- a/package/libspatialindex/libspatialindex.mk
+++ b/package/libspatialindex/libspatialindex.mk
@@ -17,9 +17,7 @@ LIBSPATIALINDEX_AUTORECONF = YES
 LIBSPATIALINDEX_CXXFLAGS = $(TARGET_CXXFLAGS)
 LIBSPATIALINDEX_CONF_ENV = CXXFLAGS="$(LIBSPATIALINDEX_CXXFLAGS)"
 
-# Workaround gcc ICE
-# (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485)
-ifeq ($(BR2_microblaze),y)
+ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
 LIBSPATIALINDEX_CXXFLAGS += -O0
 endif
 
-- 
2.17.1




More information about the buildroot mailing list