mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
toolchain/toolchain-wrapper.c: correct CCACHE_BASEDIR comment
Commit 1e97b27873 ("ccache: support changing the output directory") added
the CCACHE_BASEDIR logic, but added a comment (presumably from cut'n'paste)
about compilercheck instead, fix that.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
d4819ab45f
commit
f66e4c2568
@@ -526,7 +526,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef BR_CCACHE_BASEDIR
|
#ifdef BR_CCACHE_BASEDIR
|
||||||
/* Allow compilercheck to be overridden through the environment */
|
/* Allow basedir to be overridden through the environment */
|
||||||
if (setenv("CCACHE_BASEDIR", BR_CCACHE_BASEDIR, 0)) {
|
if (setenv("CCACHE_BASEDIR", BR_CCACHE_BASEDIR, 0)) {
|
||||||
perror(__FILE__ ": Failed to set CCACHE_BASEDIR");
|
perror(__FILE__ ": Failed to set CCACHE_BASEDIR");
|
||||||
return 3;
|
return 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user