From patchwork Mon Jul 3 21:43:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 783658 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x1gdD059Rz9s65 for ; Tue, 4 Jul 2017 07:44:16 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 55F6986357; Mon, 3 Jul 2017 21:44:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1HtDDc27bIGs; Mon, 3 Jul 2017 21:44:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 302F485FCA; Mon, 3 Jul 2017 21:44:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6A0F21C20A3 for ; Mon, 3 Jul 2017 21:44:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 62197868D9 for ; Mon, 3 Jul 2017 21:44:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v01dtEIENono for ; Mon, 3 Jul 2017 21:44:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exchange.essensium.com (220.77.144.195.ipv4.evonet.be [195.144.77.220]) by whitealder.osuosl.org (Postfix) with ESMTPS id 61B8C84078 for ; Mon, 3 Jul 2017 21:44:09 +0000 (UTC) Received: from vandecaa-laptop.bzh.lan (10.3.7.11) by beleexch01.local.ess-mail.com (10.3.7.8) with Microsoft SMTP Server (TLS) id 15.0.847.32; Mon, 3 Jul 2017 23:43:55 +0200 From: "Arnout Vandecappelle (Essensium/Mind)" To: Date: Mon, 3 Jul 2017 23:43:55 +0200 Message-ID: <20170703214355.30076-1-arnout@mind.be> X-Mailer: git-send-email 2.13.2 MIME-Version: 1.0 X-Originating-IP: [10.3.7.11] X-ClientProxiedBy: beleexch01.local.ess-mail.com (10.3.7.8) To beleexch01.local.ess-mail.com (10.3.7.8) Subject: [Buildroot] [PATCH] pngquant: doesn't support building with ccache X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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) --- package/pngquant/pngquant.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/pngquant/pngquant.mk b/package/pngquant/pngquant.mk index 4a6f32fdca..938603a21d 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 \ )