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

@ -47,7 +47,7 @@ src_configure() {
# Also, tell coreutils we don't have perl, which disables help2man
FORCE_UNSAFE_CONFIGURE=1 ./configure CFLAGS="-static" \
--prefix="${PREFIX}" \
--build=i386-unknown-linux-musl \
--build="${TARGET}" \
gl_cv_func_getcwd_path_max="no, but it is partly working" \
gl_cv_prog_perl="no"
}