From patchwork Wed Aug 28 13:40:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 270512 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 642CD2C00AA for ; Wed, 28 Aug 2013 23:40:36 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7364432A2D; Wed, 28 Aug 2013 13:40:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JiFgVnWHWSyB; Wed, 28 Aug 2013 13:40:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 9C79A32A2A; Wed, 28 Aug 2013 13:40:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E0A5E1C23C9 for ; Wed, 28 Aug 2013 13:40:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D7FAC8BF99 for ; Wed, 28 Aug 2013 13:40:32 +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 alG18Wtbf74G for ; Wed, 28 Aug 2013 13:40:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ee0-f43.google.com (mail-ee0-f43.google.com [74.125.83.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0C0D28BFC4 for ; Wed, 28 Aug 2013 13:40:31 +0000 (UTC) Received: by mail-ee0-f43.google.com with SMTP id e52so2978118eek.30 for ; Wed, 28 Aug 2013 06:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:content-type:mime-version:content-transfer-encoding:subject :message-id:user-agent:date:from:to:cc; bh=O/GoNjcIvBSbLKLwgUoWXod7jFVzsVZ9u6C3QaVS08g=; b=Iv2ladEK8EQjTHVfnJ7mRYjHq32pFdK0ouiwmYSCJy7AMzamQ3adaEDevsr8n7v4Ut LfX3Q1TmxW8ykpnkACUeHuNRhXaNVkUqksoWFf7BtZNdRnABd92qQYgN7GCoG1Rtng0Z aHYeHVCs0tOGxLM1ylOGFDfRFvDnFKOQdBfXuWs0Qin+OzffRfYlPmjJgi93XejAooqj 0Biw8G40vCPNb0suFhKCqrLyFxkseblpz2uyNe1i56AEjsiEudM+1xSLMsVlqlYakrEP XNBcrCAvUJyJkixmUORXZUl9hNNOh/KshJUzC5QZj6D6ar/xd0wQKvLR9DF5asfzxaZi Zlng== X-Received: by 10.15.41.205 with SMTP id s53mr2953819eev.63.1377697230591; Wed, 28 Aug 2013 06:40:30 -0700 (PDT) Received: from [127.0.1.1] (d54C62EEB.access.telenet.be. [84.198.46.235]) by mx.google.com with ESMTPSA id z12sm37526500eev.6.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 Aug 2013 06:40:29 -0700 (PDT) MIME-Version: 1.0 X-Mercurial-Node: c0967e3e463dd286cb2b97b3ea6c2ce28244f50c Message-Id: User-Agent: Mercurial-patchbomb/2.2.2 Date: Wed, 28 Aug 2013 15:40:25 +0200 From: Thomas De Schampheleire To: buildroot@busybox.net Cc: Johan Sagaert Subject: [Buildroot] [PATCH] redis: fix build with ccache enabled X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Some parts of redis fail to build when ccache is enabled, due to one of our own patches. The construct make CC=$(CC) target1 target2 would result in make CC=ccache -gcc target1 target2 and here -gcc would be treated as a target and the compiler used would be just 'ccache'. Reported-by: Johan Sagaert Signed-off-by: Thomas De Schampheleire --- I think this should still be applied for 2013.08. package/redis/redis-001-uclibc.patch | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/package/redis/redis-001-uclibc.patch b/package/redis/redis-001-uclibc.patch --- a/package/redis/redis-001-uclibc.patch +++ b/package/redis/redis-001-uclibc.patch @@ -39,7 +39,7 @@ diff -ur old/src/Makefile new/src/Makefi echo PREV_FINAL_CFLAGS=$(FINAL_CFLAGS) >> .make-settings echo PREV_FINAL_LDFLAGS=$(FINAL_LDFLAGS) >> .make-settings - -(cd ../deps && $(MAKE) $(DEPENDENCY_TARGETS)) -+ -(cd ../deps && $(MAKE) CC=$(CC) $(DEPENDENCY_TARGETS)) ++ -(cd ../deps && $(MAKE) CC="$(CC)" $(DEPENDENCY_TARGETS)) .PHONY: persist-settings