diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = bc-gh pkgdesc = Implementation of dc and POSIX bc with GNU extensions pkgver = 6.7.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/gavinhoward/bc arch = aarch64 arch = arm @@ -4,7 +4,7 @@ pkgname=bc-gh pkgver=6.7.3 -pkgrel=1 +pkgrel=2 pkgdesc="Implementation of dc and POSIX bc with GNU extensions" arch=('aarch64' 'arm' 'armv6h' 'armv7h' 'i686' 'x86_64') url="https://github.com/gavinhoward/bc" @@ -27,11 +27,12 @@ sha256sums=( ) validpgpkeys=('FF360647C7A7147F27DAAEC1B132F881C306590A') +_ltoflags='-flto=auto' +: "${LTOFLAGS:-$_ltoflags}" + build() { cd "bc-$pkgver" - test -n "$LTOFLAGS" || LTOFLAGS='-flto=auto' - env CFLAGS="$CFLAGS -O3" \ PREFIX=/usr ./configure.sh -p GNU -e -G -sbc.banner -sdc.tty_mode make |