From: | "Christoph Junghans (ottxor)" <ottxor@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/ccache/files: ccache-config-2 |
Date: | Sat, 28 Sep 2013 22:44:53 |
Message-Id: | 20130928224447.B2FDB2004C@flycatcher.gentoo.org |
1 | ottxor 13/09/28 22:44:47 |
2 | |
3 | Modified: ccache-config-2 |
4 | Log: |
5 | add icc/clang support (bug #484772) |
6 | |
7 | (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key C2000586) |
8 | |
9 | Revision Changes Path |
10 | 1.2 dev-util/ccache/files/ccache-config-2 |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ccache/files/ccache-config-2?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ccache/files/ccache-config-2?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ccache/files/ccache-config-2?r1=1.1&r2=1.2 |
15 | |
16 | Index: ccache-config-2 |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-util/ccache/files/ccache-config-2,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- ccache-config-2 13 Sep 2013 14:25:31 -0000 1.1 |
23 | +++ ccache-config-2 28 Sep 2013 22:44:47 -0000 1.2 |
24 | @@ -69,14 +69,8 @@ |
25 | } |
26 | cc_links() { |
27 | local a |
28 | - for a in gcc cc c++ g++ ; do |
29 | - if [ -n "${2}" ] ; then |
30 | - # gcc-config doesnt install ${CHOST}-cc, so until |
31 | - # it does, don't install a ccache symlink for it |
32 | - [ "${a}" = "cc" ] && continue |
33 | - a="${2}-${a}" |
34 | - fi |
35 | - eval "cc_${1}_link" "${a}" |
36 | + for a in gcc cc c++ g++ icc icpc clang clang++ ; do |
37 | + eval "cc_${1}_link" "${2}${2:+-}${a}" |
38 | done |
39 | } |