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>
This commit is contained in:
parent
f985476225
commit
82f1ccf4c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user