libffi correction
This commit is contained in:
parent
f18b85f108
commit
f3c2b6b333
3 changed files with 16 additions and 15 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
pkgname=libffi
|
||||
pkgver=3.4.2
|
||||
pkgrel=04
|
||||
pkgrel=05
|
||||
pkgdesc='Portable foreign function interface library'
|
||||
arch=('x86_64')
|
||||
url='https://sourceware.org/libffi/'
|
||||
|
@ -16,10 +16,10 @@ makedepends=('automake' 'autoconf')
|
|||
provides=('libffi.so')
|
||||
source=(https://github.com/libffi/libffi/releases/download/v${pkgver}/libffi-${pkgver}.tar.gz)
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
autoreconf -fiv
|
||||
}
|
||||
#prepare() {
|
||||
# cd $pkgname-$pkgver
|
||||
# autoreconf -fiv
|
||||
#}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
pkgname=libffi
|
||||
pkgver=3.4.2
|
||||
pkgrel=1
|
||||
pkgrel=4
|
||||
pkgdesc='Portable foreign function interface library'
|
||||
arch=('x86_64')
|
||||
url='https://sourceware.org/libffi/'
|
||||
|
@ -13,20 +13,19 @@ license=('MIT')
|
|||
depends=('glibc')
|
||||
checkdepends=('dejagnu')
|
||||
provides=('libffi.so')
|
||||
source=(https://github.com/libffi/libffi/releases/download/v${pkgver}/libffi-${pkgver}.tar.gz)
|
||||
source=(https://github.com/libffi/libffi/releases/download/v$pkgver/libffi-$pkgver.tar.gz)
|
||||
sha256sums=('540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620')
|
||||
b2sums=('a8137bc895b819f949fd7705e405be627219c6d1fdef280253330f7407d4a548bb057d7bb0e9225d1767d42f9bf5f0ab3c455db1c3470d7cc876bb7b7d55d308')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
autoreconf -fiv
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
# remove --disable-exec-static-tramp once ghc and gobject-introspection
|
||||
# work fine with it enabled (https://github.com/libffi/libffi/pull/647)
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-static \
|
||||
--disable-multi-os-directory \
|
||||
--disable-exec-static-tramp \
|
||||
--enable-pax_emutramp
|
||||
make
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
real 4m39.759s
|
||||
user 4m26.734s
|
||||
sys 0m15.097s
|
||||
|
||||
real 4m13.858s
|
||||
user 3m52.319s
|
||||
sys 0m18.303s
|
||||
|
||||
|
|
Loading…
Reference in a new issue