libclc-git: update to 20160921

Use host g++ to build prepare-builtins. This fixes i686-musl and
also works for other target architectures because prepare-builtins
is not installed but a build time utility.

Newer versions of libclc require llvm-4.x which we do not yet have.
This commit is contained in:
Jürgen Buchmüller 2017-04-14 08:12:26 +02:00
parent 5f7d204b62
commit 8362f150aa

View file

@ -1,8 +1,8 @@
# Template file for 'libclc-git'
pkgname=libclc-git
version=20160905
version=20160921
revision=1
_git_hash=88b82a6f70012a903b10dfc1e2304d3ef2e76dbc
_git_hash=520743b0b72862a987ead6213dc1a5321a2010f9
wrksrc="libclc-${_git_hash}"
build_style=configure
configure_script="./configure.py"
@ -16,9 +16,14 @@ homepage="http://libclc.llvm.org"
provides="libclc-${version}_${revision}"
replaces="libclc>=0"
noarch=yes
distfiles="https://github.com/llvm-mirror/libclc/archive/${_git_hash}.tar.gz"
checksum=4d01522ad7228fa91d46ccad68cac9fc6d2079bad23b4f0479f378dd9e9dc52e
distfiles="https://github.com/llvm-mirror/libclc/archive/${_git_hash}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=82c89bb15f79eaf525d283dda82403b213ef1a11b1ea9d843799fb04e08d190d
pre_build() {
sed -i Makefile \
-e"s;/usr/bin/clang++;g++;g" \
-e"s;-mtune=i686;;g"
}
post_install() {
vlicense LICENSE.TXT
}