diff options
author | Vasilii Novikov | 2022-04-13 20:45:06 +0200 |
---|---|---|
committer | Vasilii Novikov | 2022-04-13 20:45:06 +0200 |
commit | e755894f1a0805932f126b7a2106c0464a6197f0 (patch) | |
tree | c97921b0824602609acc546958150d7a970d335f /PKGBUILD | |
parent | 82ce317bb370dfdcd00eb0beac15094f8e17ab7b (diff) | |
download | aur-e755894f1a0805932f126b7a2106c0464a6197f0.tar.gz |
Add !lto build option, see comment
Depending on the environment Rust packages
may fail to build with LTO, see:
https://aur.archlinux.org/packages/rua#comment-861014
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,7 +1,7 @@ # Maintainer: Vasia Novikov <n1dr+cmarchlinux@yaaandex.com> (replace "aaa" with "a") pkgname=rua pkgver=0.19.0 -pkgrel=1 +pkgrel=2 pkgdesc='AUR helper in Rust providing control, review, patch application and safe build options' url='https://github.com/vn971/rua' source=("${pkgname}-${pkgver}.tar.gz::https://github.com/vn971/rua/archive/v${pkgver}.tar.gz") @@ -16,9 +16,13 @@ optdepends=( 'sudo: allows package installation via sudo, if desired' ) -#options+=(!strip) # uncomment if you want readable stack traces +# Depending on the environment Rust packages may fail to build with LTO, +# see https://aur.archlinux.org/packages/rua#comment-861014 +options=('!lto') + +sha256sums=('cf904c8b455256ba091f977149d43174fc1f5ba1277f01f8ea1c348356040a50') -sha256sums=(cf904c8b455256ba091f977149d43174fc1f5ba1277f01f8ea1c348356040a50) +#options+=(!strip) # uncomment if you want readable stack traces build () { cd "$srcdir/$pkgname-$pkgver" |