mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/compiler-rt to 13.0.0-2
This commit is contained in:
parent
1c99cf37e9
commit
99701c5532
1 changed files with 2 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue