Skip to contentSkip to conversation

pngquant: doesn't support building with ccache

PATCH New Arnout Vandecappelle (Essensium/Mind) 2 participants 3 messages Jul 3, 2017 – Jul 4, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pngquant: doesn't support building with ccache

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

---
 package/pngquant/pngquant.mk | 1 +
 1 file changed, 1 insertion(+)
package/pngquant/pngquant.mk +1 -0
index 4a6f32fdca..938603a21d 100644
@@ -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 \
 	)
Signature · 1 line
2.13.2
#1 lore raw

PATCH 1/1 pngquant: doesn't support building with ccache

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:

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.

Quoted 7 lines

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 pngquant: doesn't support building with ccache

In reply to Arnout Vandecappelle (Essensium/Mind)
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:

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.

Quoted 7 lines

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

Committed to 2017.05.x (not in 2017.02), thanks.

Signature · 1 line
Bye, Peter Korsgaard