llvm: fix cross build; add new libllvm soname.
This commit is contained in:
parent
bc7f6a614f
commit
5e317e9d5a
2 changed files with 3 additions and 5 deletions
|
@ -921,6 +921,7 @@ libgtksourceviewmm-3.0.so.0 gtksourceviewmm-3.2.0_1
|
||||||
libyajl.so.2 yajl-2.0.1_1
|
libyajl.so.2 yajl-2.0.1_1
|
||||||
libconfuse.so.0 confuse-2.7_1
|
libconfuse.so.0 confuse-2.7_1
|
||||||
libLLVM-3.3.so libllvm-3.3_4
|
libLLVM-3.3.so libllvm-3.3_4
|
||||||
|
libLLVM-3.4.so libllvm-3.4_1
|
||||||
libisofs.so.6 libisofs-0.6.24_1
|
libisofs.so.6 libisofs-0.6.24_1
|
||||||
libbfd-2.22.so binutils-2.22_1<2.23_1
|
libbfd-2.22.so binutils-2.22_1<2.23_1
|
||||||
libopcodes-2.22.so binutils-2.22_1<2.23_1
|
libopcodes-2.22.so binutils-2.22_1<2.23_1
|
||||||
|
|
|
@ -5,7 +5,7 @@ wrksrc="llvm-${version}"
|
||||||
revision=1
|
revision=1
|
||||||
configure_args="--disable-expensive-checks --disable-debug-runtime
|
configure_args="--disable-expensive-checks --disable-debug-runtime
|
||||||
--enable-bindings=none --enable-optimize --enable-shared --enable-libffi
|
--enable-bindings=none --enable-optimize --enable-shared --enable-libffi
|
||||||
--enable-llvmc-dynamic --disable-assertions"
|
--enable-llvmc-dynamic --disable-assertions --enable-keep-symbols"
|
||||||
short_desc="Low Level Virtual Machine"
|
short_desc="Low Level Virtual Machine"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.llvm.org"
|
homepage="http://www.llvm.org"
|
||||||
|
@ -20,7 +20,7 @@ checksum="
|
||||||
f37c89b1383ce462d47537a0245ac798600887a9be9f63073e16b79ed536ab5c"
|
f37c89b1383ce462d47537a0245ac798600887a9be9f63073e16b79ed536ab5c"
|
||||||
|
|
||||||
# XXX Investigate ocaml bindings.
|
# XXX Investigate ocaml bindings.
|
||||||
hostmakedepends="groff bsdtar perl python"
|
hostmakedepends="groff perl python zlib-devel"
|
||||||
makedepends="zlib-devel libffi-devel"
|
makedepends="zlib-devel libffi-devel"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
@ -37,9 +37,6 @@ post_extract() {
|
||||||
do_configure() {
|
do_configure() {
|
||||||
unset CC CXX CPP AR AS RANLIB CFLAGS LDFLAGS CPPFLAGS
|
unset CC CXX CPP AR AS RANLIB CFLAGS LDFLAGS CPPFLAGS
|
||||||
|
|
||||||
# Don't let llvm strip bins.
|
|
||||||
sed -e '/Install.StripFlag += -s/d' -i Makefile.rules
|
|
||||||
|
|
||||||
# Fix installation directories, ./configure doesn't seem to set them right
|
# Fix installation directories, ./configure doesn't seem to set them right
|
||||||
sed -i -e 's:\$(PROJ_prefix)/etc/llvm:/etc/llvm:' \
|
sed -i -e 's:\$(PROJ_prefix)/etc/llvm:/etc/llvm:' \
|
||||||
-e 's:\$(PROJ_prefix)/docs/llvm:$(PROJ_prefix)/share/doc/llvm:' \
|
-e 's:\$(PROJ_prefix)/docs/llvm:$(PROJ_prefix)/share/doc/llvm:' \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue