[Buildroot] [PATCH 16/23] qt: disable precompiled headers when ccache is enabled
Michael Roth
mroth at nessie.de
Wed Oct 7 09:20:39 UTC 2009
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 <mroth at nessie.de>
---
package/qt/qt.mk | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index f1e845e..8491195 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
--
1.6.3.3
More information about the buildroot
mailing list