extra/compiler-rt to 13.0.0-2

This commit is contained in:
Kevin Mihelich 2021-12-15 01:52:36 +00:00
parent 1c99cf37e9
commit 99701c5532

View file

@ -6,7 +6,7 @@
pkgname=compiler-rt
pkgver=13.0.0
pkgrel=1
pkgrel=2
pkgdesc="Compiler runtime libraries for clang"
arch=('x86_64')
url="https://compiler-rt.llvm.org/"
@ -36,6 +36,7 @@ build() {
cmake .. -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCOMPILER_RT_INSTALL_PATH=/usr/lib/clang/$pkgver \
$CONFIG
ninja
}
@ -45,10 +46,6 @@ package() {
DESTDIR="$pkgdir" ninja install
install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
mkdir -p "$pkgdir"/usr/lib/clang/$pkgver/{lib,share}
mv "$pkgdir"/usr/lib/{linux,clang/$pkgver/lib/}
mv "$pkgdir"/usr/{share/*.txt,lib/clang/$pkgver/share/}
}
# vim:set ts=2 sw=2 et: