From 5e317e9d5a9c71853294bbea49d10648175de85f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 7 Jan 2014 09:44:19 +0100 Subject: [PATCH] llvm: fix cross build; add new libllvm soname. --- common/shlibs | 1 + srcpkgs/llvm/template | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/common/shlibs b/common/shlibs index 5324219a3e..0551617464 100644 --- a/common/shlibs +++ b/common/shlibs @@ -921,6 +921,7 @@ libgtksourceviewmm-3.0.so.0 gtksourceviewmm-3.2.0_1 libyajl.so.2 yajl-2.0.1_1 libconfuse.so.0 confuse-2.7_1 libLLVM-3.3.so libllvm-3.3_4 +libLLVM-3.4.so libllvm-3.4_1 libisofs.so.6 libisofs-0.6.24_1 libbfd-2.22.so binutils-2.22_1<2.23_1 libopcodes-2.22.so binutils-2.22_1<2.23_1 diff --git a/srcpkgs/llvm/template b/srcpkgs/llvm/template index a7d01048bc..643e39cf00 100644 --- a/srcpkgs/llvm/template +++ b/srcpkgs/llvm/template @@ -5,7 +5,7 @@ wrksrc="llvm-${version}" revision=1 configure_args="--disable-expensive-checks --disable-debug-runtime --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" maintainer="Juan RP " homepage="http://www.llvm.org" @@ -20,7 +20,7 @@ checksum=" f37c89b1383ce462d47537a0245ac798600887a9be9f63073e16b79ed536ab5c" # XXX Investigate ocaml bindings. -hostmakedepends="groff bsdtar perl python" +hostmakedepends="groff perl python zlib-devel" makedepends="zlib-devel libffi-devel" post_extract() { @@ -37,9 +37,6 @@ post_extract() { do_configure() { 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 sed -i -e 's:\$(PROJ_prefix)/etc/llvm:/etc/llvm:' \ -e 's:\$(PROJ_prefix)/docs/llvm:$(PROJ_prefix)/share/doc/llvm:' \