[Buildroot] [git commit] package/libspatialindex: use BR2_TOOLCHAIN_HAS_BUG_68485 option
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Jun 19 19:53:39 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=01322e386f5d1a45bce433b5a4ff722e92e0ab0b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 at micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.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
More information about the buildroot
mailing list