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
Commit1e97b27873("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> (cherry picked from commitf66e4c2568) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
bdd3382ea5
commit
ad6de69d62
@@ -520,7 +520,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