From 82f1ccf4c84101c2611e6e9e7e118258f7c90757 Mon Sep 17 00:00:00 2001 From: Michael Roth Date: Wed, 7 Oct 2009 11:20:39 +0200 Subject: qt: disable precompiled headers when ccache is enabled ccache and precompiled headers don't work together, so disable precompiled headers when ccache is enabled. The benefit of ccache compiling Qt a second or more time is much higher than the costs of disabled precompiled headers in the first run. Signed-off-by: Michael Roth Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/qt/qt.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/qt/qt.mk b/package/qt/qt.mk index 37849f98b..ae03fa684 100644 --- a/package/qt/qt.mk +++ b/package/qt/qt.mk @@ -315,6 +315,11 @@ else QT_CONFIGURE+= -no-stl endif +# ccache and precompiled headers don't play well together +ifeq ($(BR2_CCACHE),y) +QT_CONFIGURE += -no-pch +endif + BR2_PACKAGE_QT_EMB_PLATFORM:=$(call qstrip,$(BR2_PACKAGE_QT_EMB_PLATFORM)) # Figure out what libs to install in the target -- cgit v1.2.3