ccache: remove clang symlinks for cross compilers.
... llvm detects them and tries to exec them resulting in epic #fail.
This commit is contained in:
parent
cf6335abcb
commit
e56ff44c2b
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ccache'
|
# Template file for 'ccache'
|
||||||
pkgname=ccache
|
pkgname=ccache
|
||||||
version=3.2.1
|
version=3.2.1
|
||||||
revision=1
|
revision=2
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
|
@ -14,7 +14,7 @@ checksum=240bf6c7fe3350358d26db2d0379dd32834dbee333a2904bbcf99cb7538086a6
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir usr/lib/ccache/bin
|
vmkdir usr/lib/ccache/bin
|
||||||
for f in gcc cc c++ cpp g++ clang clang++; do
|
for f in gcc cc c++ cpp g++; do
|
||||||
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
|
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
|
||||||
for x in arm-linux-gnueabi arm-linux-gnueabihf arm-linux-gnueabihf7; do
|
for x in arm-linux-gnueabi arm-linux-gnueabihf arm-linux-gnueabihf7; do
|
||||||
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${x}-${f}
|
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${x}-${f}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue