ccache: remove clang symlinks for cross compilers.
... llvm detects them and tries to exec them resulting in epic #fail.
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| # Template file for 'ccache' | ||||
| pkgname=ccache | ||||
| version=3.2.1 | ||||
| revision=1 | ||||
| revision=2 | ||||
| bootstrap=yes | ||||
| build_style=gnu-configure | ||||
| makedepends="zlib-devel" | ||||
| @@ -14,7 +14,7 @@ checksum=240bf6c7fe3350358d26db2d0379dd32834dbee333a2904bbcf99cb7538086a6 | ||||
|  | ||||
| post_install() { | ||||
| 	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} | ||||
| 		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} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Juan RP
					Juan RP