diff options
author | Luchesar V. ILIEV | 2017-02-15 21:12:46 +0200 |
---|---|---|
committer | Luchesar V. ILIEV | 2017-02-15 21:18:02 +0200 |
commit | 7a78761f23d190a81feacd3115b8bc9782176339 (patch) | |
tree | eeab0ba8e1843cd76ff728564ed890f201b66165 | |
parent | 294d2e9a1a0e8fc1117fc9ab7a53dca7af2ef75d (diff) | |
download | aur-7a78761f23d190a81feacd3115b8bc9782176339.tar.gz |
Bring LLVMHello.so back
I've inherited this from the previous maintainer, but apparently the
library may be necessary in some cases, so it's better to bring it back.
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -201,7 +201,7 @@ package_llvm-svn() { # The runtime libraries get installed in llvm-libs-svn rm -f "${pkgdir}"/usr/lib/lib{LLVM,LTO}{,-*}.so{,.*} - mv -f "${pkgdir}"/usr/lib/{BugpointPasses,LLVMgold}.so "${srcdir}/" + mv -f "${pkgdir}"/usr/lib/{BugpointPasses,LLVMgold,LLVMHello}.so "${srcdir}/" # Clang libraries and OCaml bindings go to separate packages rm -rf "${srcdir}"/{clang,ocaml.{doc,lib}} @@ -209,9 +209,6 @@ package_llvm-svn() { mv "${pkgdir}/usr/lib/ocaml" "${srcdir}/ocaml.lib" mv "${pkgdir}/usr/share/doc/llvm/ocaml-html" "${srcdir}/ocaml.doc" - # Get rid of example Hello transformation - rm -f "${pkgdir}"/usr/lib/*LLVMHello.* - if [[ "${CARCH}" == "x86_64" ]]; then # Needed for multilib (https://bugs.archlinux.org/task/29951) # Header stubs are taken from Fedora @@ -243,7 +240,7 @@ package_llvm-libs-svn() { make DESTDIR="${pkgdir}" install-{LLVM,LTO} # Moved from the llvm-svn package here - mv "${srcdir}"/{BugpointPasses,LLVMgold}.so "${pkgdir}/usr/lib/" + mv "${srcdir}"/{BugpointPasses,LLVMgold,LLVMHello}.so "${pkgdir}/usr/lib/" # Ref: http://llvm.org/docs/GoldPlugin.html install -m755 -d "${pkgdir}/usr/lib/bfd-plugins" |