summaryrefslogtreecommitdiffstats
path: root/package/qt/qt.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/qt/qt.mk')
-rw-r--r--package/qt/qt.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index ee1a88b7a..9f50f9135 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -416,10 +416,10 @@ else
QT_CONFIGURE_OPTS += -no-declarative
endif
-# ccache and precompiled headers don't play well together
-ifeq ($(BR2_CCACHE),y)
+# -no-pch is needed to workaround the issue described at
+# http://comments.gmane.org/gmane.comp.lib.qt.devel/5933.
+# In addition, ccache and precompiled headers don't play well together
QT_CONFIGURE_OPTS += -no-pch
-endif
# x86x86fix
# Workaround Qt Embedded bug when crosscompiling for x86 under x86 with linux