backwards compatible
This commit is contained in:
parent
9224afc09e
commit
4f2947d63d
1 changed files with 1 additions and 2 deletions
3
cash.sh
3
cash.sh
|
@ -4,8 +4,7 @@ _try_cc() {
|
||||||
local infile
|
local infile
|
||||||
infile=$(mktemp --suffix .c)
|
infile=$(mktemp --suffix .c)
|
||||||
cat > "$infile"
|
cat > "$infile"
|
||||||
ccache hash_dir=false \
|
CCACHE_NOHASHDIR=1 ccache "${CC:-cc}" -o "$out" "$infile" "$@"
|
||||||
"${CC:-cc}" -o "$out" "$infile" "$@"
|
|
||||||
code=$?
|
code=$?
|
||||||
rm "$infile" || :
|
rm "$infile" || :
|
||||||
return $?
|
return $?
|
||||||
|
|
Loading…
Reference in a new issue