[arch-commits] Commit in lib32-clang/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 10 23:18:11 UTC 2019
Date: Thursday, October 10, 2019 @ 23:18:11
Author: foutrelis
Revision: 514643
upgpkg: lib32-clang 9.0.0-2
Apply change from clang 9.0.0-2:
Stop shipping libclang-cpp until we can get rid of BUILD_SHARED_LIBS=ON.
Modified:
lib32-clang/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-10 22:10:21 UTC (rev 514642)
+++ PKGBUILD 2019-10-10 23:18:11 UTC (rev 514643)
@@ -3,7 +3,7 @@
pkgname=lib32-clang
pkgver=9.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="C language family frontend for LLVM (32-bit)"
arch=('x86_64')
url="https://clang.llvm.org/"
@@ -35,6 +35,9 @@
# https://reviews.llvm.org/D66176
patch -Np1 -i ../0001-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch
+
+ # Avoid shipping libclang-cpp before removing BUILD_SHARED_LIBS=ON
+ sed -i '/add_clang_subdirectory(clang-shlib)/d' tools/CMakeLists.txt
}
build() {
@@ -56,7 +59,7 @@
-DLLVM_CONFIG="/usr/bin/llvm-config32" \
-DBUILD_SHARED_LIBS=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
- -DCLANG_LINK_CLANG_DYLIB=ON \
+ -DCLANG_LINK_CLANG_DYLIB=OFF \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_BUILD_TESTS=OFF \
-DLLVM_INCLUDE_DOCS=OFF \
More information about the arch-commits
mailing list