minivmacsa: fix building package on x86_64

This commit is contained in:
adamg 2023-09-20 13:54:11 +01:00
parent 3915b0353c
commit 15e569506e

View file

@ -11,14 +11,14 @@ PKG_DEPENDS_TARGET="toolchain libX11"
PKG_PRIORITY="optional"
PKG_SECTION="emulators"
PKG_SHORTDESC="Virtual Macintosh Plus"
PKG_TOOLCHAIN="manual"
PKG_TOOLCHAIN="make"
make_target() {
pre_make_target() {
cd ${PKG_BUILD}
gcc setup/tool.c -o setup_t
${TOOLCHAIN}/bin/host-gcc setup/tool.c -o setup_t
./setup_t -t lx64 -fullscreen 1 > setup.sh
. setup.sh
make
sed -i "s|gcc|${TARGET_PREFIX}gcc|" ${PKG_BUILD}/Makefile
}
makeinstall_target() {