system/ti99sim: Fix build when ARCH is set in the environment.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-04-28 02:07:57 -04:00 committed by Willy Sudiarto Raharjo
parent c4591d2d7f
commit 018177478e
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -70,7 +70,7 @@ sed -i "s,-g3 *-O3,$SLKCFLAGS," rules.mak
# Binaries already installed stripped. SYS_BIN must be <DATA_DIR>/bin
# to avoid it creating absolute symlinks (we'll create relative ones, below).
make install DATA_DIR=$PKG/opt/$PRGNAM SYS_BIN=$PKG/opt/$PRGNAM/bin
env -u ARCH make install DATA_DIR=$PKG/opt/$PRGNAM SYS_BIN=$PKG/opt/$PRGNAM/bin
# Modified setup script requires arguments (original one didn't).
sh scripts/setup $CWD $PKG/opt/$PRGNAM