diff options
author | Sven Wegener <sven.wegener@stealer.net> | 2021-01-01 12:27:33 +0100 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-01-06 21:44:56 -1000 |
commit | 936220186d5d2ca99a9b5c7c895fe04ac5e2ce35 (patch) | |
tree | e9d8de78d25a836de147179361d1c3cd32b5e4d2 /tools/lzma | |
parent | 980dca6b7f657846a74b2e069ee120014a4c4137 (diff) | |
download | upstream-936220186d5d2ca99a9b5c7c895fe04ac5e2ce35.tar.gz upstream-936220186d5d2ca99a9b5c7c895fe04ac5e2ce35.tar.bz2 upstream-936220186d5d2ca99a9b5c7c895fe04ac5e2ce35.zip |
tools/cmake: always use non-ccache CC and CXX variables
cmake is a dependency of ccache, which means it is build before ccache
is available and hence must be build with non-ccache CC and CXX. It
currently works, because the cmake build system splits the compiler
variable and treats them as multiple compilers to check.
For "ccache gcc" it first tests for "ccache", which always fails,
because ccache is not a compiler by itself, even if it is available, and
then ends up calling "gcc" alone, effectively never using ccache.
Let's make this explicit by forcing the use of non-ccache CC and CXX.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Diffstat (limited to 'tools/lzma')
0 files changed, 0 insertions, 0 deletions