community/shhopt to 1.1.7-6

This commit is contained in:
Kevin Mihelich 2022-04-24 18:45:36 +00:00
parent 68bcae0159
commit a5f089c9fb

View file

@ -6,7 +6,7 @@
pkgname=shhopt
pkgver=1.1.7
pkgrel=5
pkgrel=6
pkgdesc="Library for parsing command line options"
arch=('x86_64')
url="https://shh.thathost.com/pub-unix"
@ -18,6 +18,7 @@ md5sums=('caf24206354296e8a48771aea1f47fbd')
build() {
cd $pkgname-$pkgver
CFLAGS+=' -ffat-lto-objects'
[[ $CARCH == "armv7h" || $CARCH == "aarch64" ]] && CFLAGS+=" -fPIC"
make OPTIM="$CFLAGS" dep
make OPTIM="$CFLAGS"