diff options
author | Michael Roth <mroth@nessie.de> | 2009-10-07 11:20:39 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-10-09 14:54:27 +0200 |
commit | 82f1ccf4c84101c2611e6e9e7e118258f7c90757 (patch) | |
tree | 879e6e891fa50a02a42dcc5097f19ea3591b6e05 /package/qt | |
parent | f9854762255617f49b08e5d5a87f76638b9a5701 (diff) | |
download | buildroot-novena-82f1ccf4c84101c2611e6e9e7e118258f7c90757.tar.gz buildroot-novena-82f1ccf4c84101c2611e6e9e7e118258f7c90757.zip |
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 <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/qt')
-rw-r--r-- | 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 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 |