package/libspatialindex: use BR2_TOOLCHAIN_HAS_BUG_68485 option

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

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Giulio Benetti
2019-06-19 21:53:39 +02:00
committed by Thomas Petazzoni
parent 467552234d
commit 01322e386f
+1 -3
View File
@@ -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