diff mbox series

[v2,2/4] package/gpsd: use common BR2_TOOLCHAIN_HAS_GCC_BUG_68485

Message ID 20190527213826.114001-3-giulio.benetti@micronovasrl.com
State Superseded
Headers show
Series Fix and clean GCC BUG 68485 per-package | expand

Commit Message

Giulio Benetti May 27, 2019, 9:38 p.m. UTC
Workaround for Gcc ICE works ok, but it's issued if BR2_microblaze=y
with a local comment. Let's use BR2_TOOLCHAIN_HAS_GCC_BUG_68485 instead
to avoid repeating ICE bug comment for every package affected from it.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
---
 package/gpsd/gpsd.mk | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/package/gpsd/gpsd.mk b/package/gpsd/gpsd.mk
index d2c7612526..2062f9e846 100644
--- a/package/gpsd/gpsd.mk
+++ b/package/gpsd/gpsd.mk
@@ -42,10 +42,7 @@  else
 GPSD_SCONS_OPTS += libgpsmm=no
 endif
 
-# prevents from triggering GCC ICE
-# A bug was reported to the gcc bug tracker:
-# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485
-ifeq ($(BR2_microblaze),y)
+ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
 GPSD_CFLAGS += -O0
 endif