diff options
Diffstat (limited to 'dev-util/ccache/files/ccache-clang.patch')
-rw-r--r-- | dev-util/ccache/files/ccache-clang.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/dev-util/ccache/files/ccache-clang.patch b/dev-util/ccache/files/ccache-clang.patch deleted file mode 100644 index 8c766b30..00000000 --- a/dev-util/ccache/files/ccache-clang.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- 1/ccache-config -+++ 1/ccache-config -@@ -66,15 +66,17 @@ - } - cc_links() { - local a -- for a in gcc cc c++ g++ ; do -- if [ -n "${2}" ] ; then -- # gcc-config doesnt install ${CHOST}-cc, so until -- # it does, don't install a ccache symlink for it -- [ "${a}" = "cc" ] && continue -- a="${2}-${a}" -- fi -- eval "cc_${1}_link" "${a}" -- done -+ if [ -z "${2}" ] ; then -+ # gcc-config doesn't install ${CHOST}-cc, so until -+ # it does, don't install a ccache symlink for it -+ for a in cc clang clang++ -+ do eval "cc_${1}_link" "${a}" -+ done -+ else -+ for a in gcc c++ g++ -+ do eval "cc_${1}_link" "${2}-${a}" -+ done -+ fi - } - - ### |