libffi 3.3

This commit is contained in:
Andrius Štikonas 2021-07-01 21:59:05 +01:00
parent f0079dd1d5
commit 6edb5b3212
6 changed files with 33 additions and 0 deletions

19
sysa/libffi-3.3/libffi-3.3.sh Executable file
View file

@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
find . -name '*.info*' -delete
autoreconf-2.69 -fi
}
src_configure() {
./configure \
--prefix="${PREFIX}" \
--build=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--target=i386-unknown-linux-gnu \
--libdir="${PREFIX}/lib/musl" \
--disable-shared
}