libffi: cross
This commit is contained in:
parent
f08570a296
commit
c16d63a8e9
1 changed files with 4 additions and 1 deletions
|
@ -2,6 +2,7 @@ pkgver=3.3
|
||||||
pkgname=libffi
|
pkgname=libffi
|
||||||
bad="gmake"
|
bad="gmake"
|
||||||
ext="dev"
|
ext="dev"
|
||||||
|
auto_cross
|
||||||
|
|
||||||
fetch() {
|
fetch() {
|
||||||
curl -L "https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz" -o $pkgname-$pkgver.tar.gz
|
curl -L "https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||||
|
@ -10,7 +11,9 @@ fetch() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr \
|
||||||
|
--build=$HOST_TRIPLE \
|
||||||
|
--host=$TRIPLE
|
||||||
bad --gmake gmake
|
bad --gmake gmake
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue