flex: fix cross

This commit is contained in:
Ella Stanforth 2022-04-21 16:06:00 +00:00
parent aca5f9d64c
commit ddc5fc6dff

View file

@ -1,5 +1,6 @@
pkgname=flex pkgname=flex
pkgver=2.6.4 pkgver=2.6.4
auto_cross
fetch() { fetch() {
curl -L "https://github.com/westes/flex/releases/download/v2.6.4/flex-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz curl -L "https://github.com/westes/flex/releases/download/v2.6.4/flex-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
@ -10,7 +11,7 @@ build() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--build=$TRIPLE \ --build=$HOST_TRIPLE \
--host=$TRIPLE --host=$TRIPLE
make make
@ -27,3 +28,7 @@ license() {
cat LICENSE cat LICENSE
# cat COPYING # cat COPYING
} }
backup() {
return
}