mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
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:
parent
5f7d204b62
commit
8362f150aa
1 changed files with 9 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'libclc-git'
|
# Template file for 'libclc-git'
|
||||||
pkgname=libclc-git
|
pkgname=libclc-git
|
||||||
version=20160905
|
version=20160921
|
||||||
revision=1
|
revision=1
|
||||||
_git_hash=88b82a6f70012a903b10dfc1e2304d3ef2e76dbc
|
_git_hash=520743b0b72862a987ead6213dc1a5321a2010f9
|
||||||
wrksrc="libclc-${_git_hash}"
|
wrksrc="libclc-${_git_hash}"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_script="./configure.py"
|
configure_script="./configure.py"
|
||||||
|
@ -16,9 +16,14 @@ homepage="http://libclc.llvm.org"
|
||||||
provides="libclc-${version}_${revision}"
|
provides="libclc-${version}_${revision}"
|
||||||
replaces="libclc>=0"
|
replaces="libclc>=0"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
distfiles="https://github.com/llvm-mirror/libclc/archive/${_git_hash}.tar.gz"
|
distfiles="https://github.com/llvm-mirror/libclc/archive/${_git_hash}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||||
checksum=4d01522ad7228fa91d46ccad68cac9fc6d2079bad23b4f0479f378dd9e9dc52e
|
checksum=82c89bb15f79eaf525d283dda82403b213ef1a11b1ea9d843799fb04e08d190d
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i Makefile \
|
||||||
|
-e"s;/usr/bin/clang++;g++;g" \
|
||||||
|
-e"s;-mtune=i686;;g"
|
||||||
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.TXT
|
vlicense LICENSE.TXT
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue