summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2a3b6bbe4577..233dd3f8b7ec 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 599ccfa24338..d1901e4b05f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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