aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sergio Prado <sergio.prado@e-labworks.com>2015-11-22 13:43:24 -0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-29 14:45:53 +0100
commit0f48e36873b9106b6b38ed0d413bc3cecaf495be (patch)
treea2a4ecc5ba8da27c670b64de2483438cbcf855d8
parent03e75132b7ec6d90563c00350993e6178e9d4684 (diff)
downloadbuildroot-0f48e36873b9106b6b38ed0d413bc3cecaf495be.tar.gz
buildroot-0f48e36873b9106b6b38ed0d413bc3cecaf495be.tar.bz2
gpsd: work-around ICE when compiling for microblaze with GCC5
GCC 5.X generates an ICE when compiling gpsd for microblaze due to optimizations, so lets disable it for now to works around this problem. A bug was reported to the gcc bug tracker: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485 Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gpsd/gpsd.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/gpsd/gpsd.mk b/package/gpsd/gpsd.mk
index aa35053baf..d603ba5c96 100644
--- a/package/gpsd/gpsd.mk
+++ b/package/gpsd/gpsd.mk
@@ -39,8 +39,10 @@ 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)
-GPSD_CFLAGS += -fno-expensive-optimizations
+GPSD_CFLAGS += -fno-expensive-optimizations -fno-schedule-insns
endif
# Enable or disable Qt binding