mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/ffcall to 2.4-2
This commit is contained in:
parent
efcde16c18
commit
b240934304
1 changed files with 3 additions and 1 deletions
|
@ -6,11 +6,12 @@
|
|||
|
||||
pkgname=ffcall
|
||||
pkgver=2.4
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="C library for implementing foreign function calls in embedded interpreters"
|
||||
arch=('x86_64')
|
||||
url="https://www.gnu.org/software/libffcall/"
|
||||
license=('GPL2')
|
||||
depends=('glibc')
|
||||
options=('!makeflags' 'staticlibs')
|
||||
source=(https://ftp.gnu.org/gnu/libffcall/libffcall-${pkgver}.tar.gz)
|
||||
sha256sums=('8ef69921dbdc06bc5bb90513622637a7b83a71f31f5ba377be9d8fd8f57912c2')
|
||||
|
@ -18,6 +19,7 @@ sha256sums=('8ef69921dbdc06bc5bb90513622637a7b83a71f31f5ba377be9d8fd8f57912c2')
|
|||
build() {
|
||||
cd "${srcdir}/lib${pkgname}-${pkgver}"
|
||||
[ "$CARCH" = "x86_64" -o "$CARCH" = "aarch64" -o "$CARCH" = "armv7h" ] && CONFIGFLAG="--with-pic"
|
||||
CFLAGS+=" -ffat-lto-objects" \
|
||||
./configure --prefix=/usr --mandir=/usr/share/man $CONFIGFLAG
|
||||
make
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue