View | Details | Raw Unified | Return to bug 158888
Collapse All | Expand All

(-)devel/ccache/Makefile (+1 lines)
Lines 35-40 CCACHE_COMPILERS+= icc icpc Link Here
35
GNU_COMPILERS+=		34 42 43 44 45 46
35
GNU_COMPILERS+=		34 42 43 44 45 46
36
CCACHE_COMPILERS+=	cc c++ gcc g++ ${GNU_COMPILERS:S|^|gcc|} ${GNU_COMPILERS:S|^|g++|}
36
CCACHE_COMPILERS+=	cc c++ gcc g++ ${GNU_COMPILERS:S|^|gcc|} ${GNU_COMPILERS:S|^|g++|}
37
CCACHE_COMPILERS+=	clang clang++ llvm-gcc llvm-c++ llvm-g++
37
CCACHE_COMPILERS+=	clang clang++ llvm-gcc llvm-c++ llvm-g++
38
CCACHE_COMPILERS+=	${EXTRA_COMPILERS}
38
SUB_LIST+=	CCACHE_COMPILERS="${CCACHE_COMPILERS}" \
39
SUB_LIST+=	CCACHE_COMPILERS="${CCACHE_COMPILERS}" \
39
		CCLINKDIR="${CCLINKDIR}" \
40
		CCLINKDIR="${CCLINKDIR}" \
40
		ICCPREFIX="${LOCALBASE}/intel_cc_80/bin" \
41
		ICCPREFIX="${LOCALBASE}/intel_cc_80/bin" \
(-)devel/ccache/files/ccache-update-links.sh.in (-1 / +1 lines)
Lines 32-38 esac Link Here
32
# create compiler links
32
# create compiler links
33
for comp in ${CCACHE_COMPILERS}
33
for comp in ${CCACHE_COMPILERS}
34
do
34
do
35
	if [ -f "${PREFIX}/bin/${comp}" ] || [ -f "/usr/bin/${comp}" ]; then
35
	if command -v "${comp}" >/dev/null; then
36
		if [ ! -L "${PREFIX}/${CCLINKDIR}/${comp}" ]; then
36
		if [ ! -L "${PREFIX}/${CCLINKDIR}/${comp}" ]; then
37
			[ "$1" = "-v" ] && echo "create symlink for ${comp}"
37
			[ "$1" = "-v" ] && echo "create symlink for ${comp}"
38
        		ln -sf ${PREFIX}/bin/ccache ${PREFIX}/${CCLINKDIR}/${comp}
38
        		ln -sf ${PREFIX}/bin/ccache ${PREFIX}/${CCLINKDIR}/${comp}

Return to bug 158888