[Buildroot] [git commit branch/2017.05.x] pngquant: doesn't support building with ccache
Peter Korsgaard
peter at korsgaard.com
Tue Jul 4 15:43:29 UTC 2017
commit: https://git.buildroot.net/buildroot/commit/?id=7c748b54081d7c57a8589246a54b85dc6198aa08
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.05.x
pngquant's homegrown configure script doesn't understand CC with a
space, so we can't use ccache with it. Only the host variant is
affected: for the target, we call ccache from the toolchain-wrapper so
it's transparent to the configure script.
This wasn't seen in the autobuilders since they never enable
BR2_CCACHE.
To test, use any configuration and do
make BR2_CCACHE=y host-pngquant
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit 4a6168db97db6501af42e96091da3218ae64d5c1)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/pngquant/pngquant.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/pngquant/pngquant.mk b/package/pngquant/pngquant.mk
index 4a6f32f..938603a 100644
--- a/package/pngquant/pngquant.mk
+++ b/package/pngquant/pngquant.mk
@@ -36,6 +36,7 @@ endef
define HOST_PNGQUANT_CONFIGURE_CMDS
(cd $(@D) && \
$(HOST_CONFIGURE_OPTS) \
+ CC=$(HOSTCC_NOCCACHE) \
./configure --prefix=$(HOST_DIR)/usr \
--without-lcms2 \
)
More information about the buildroot
mailing list