Define "TARGET" variable to avoid hardcoding "i386-unknown-linux-musl" everywhere

This commit is contained in:
Eduardo Sánchez Muñoz 2025-07-18 14:28:30 +02:00
parent a7397d5caa
commit 502e8f944c
37 changed files with 81 additions and 79 deletions

View file

@ -55,8 +55,8 @@ src_configure() {
CPPFLAGS="-U__DATE__ -U__TIME__" \
PKG_CONFIG_PATH="${LIBDIR}/pkgconfig/" \
./configure \
--build=i386-unknown-linux-musl \
--host=i386-unknown-linux-musl \
--build="${TARGET}" \
--host="${TARGET}" \
--prefix="${PREFIX}" \
--libdir="${LIBDIR}" \
--with-system-ffi