From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] ccache: make default host-ccache cache dir fit for multi-user setups
Date: Wed, 19 Jul 2017 15:49:25 +0200 [thread overview]
Message-ID: <87mv80a656.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20170706104841.7711-1-peter@korsgaard.com> (Peter Korsgaard's message of "Thu, 6 Jul 2017 12:48:41 +0200")
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> While building I noticed:
>>>> host-ccache 3.3.4 Building
> conf.c: In function 'conf_create':
> conf.c:314:2: warning: too many arguments for format [-Wformat-extra-args]
conf-> cache_dir = format("/home/peko/.buildroot-ccache", get_home_directory());
> ^
> As host-ccache gets installed into $(HOST_DIR) and is part of the SDK,
> hardcoding the build user homedir isn't really nice for the relocatable
> SDK feature (or simply for a SDK used by multiple users).
> As the warning shows, CCache replaces "%s" with the current user home
> directory, so rewrite BR_CACHE_DIR to use this feature if it begins with
> $HOME.
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Committed to 2017.02.x and 2017.05.x, thanks.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2017-07-19 13:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-06 10:48 [Buildroot] [PATCH] ccache: make default host-ccache cache dir fit for multi-user setups Peter Korsgaard
2017-07-06 19:21 ` Thomas Petazzoni
2017-07-06 22:28 ` Peter Korsgaard
2017-07-07 7:28 ` Thomas Petazzoni
2017-07-07 9:48 ` Peter Korsgaard
2017-07-07 15:18 ` Arnout Vandecappelle
2017-07-07 15:26 ` Peter Korsgaard
2017-07-06 23:18 ` Arnout Vandecappelle
2017-07-07 6:50 ` Peter Korsgaard
2017-07-08 18:55 ` Peter Korsgaard
2017-07-19 13:49 ` Peter Korsgaard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mv80a656.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox