cross-compile and build adjustments

Tested:
    Ubuntu: make WANT_WIN_TTY=1 WANT_WIN_CURSES=1 resp=1 update
    Ubuntu: make WANT_SYSTEM_LUA=1 WANT_WIN_TTY=1 WANT_WIN_CURSES=1 resp=1 update
    make CROSS_TO_MSDOS=1 package
    make CROSS_TO_AMIGA=1 all
    make CROSS_TO_AMIGA=1 package
This commit is contained in:
nhmall
2026-05-20 00:37:02 -04:00
parent 4c825ed9a9
commit 1b7e529732
5 changed files with 45 additions and 29 deletions
+8
View File
@@ -123,6 +123,8 @@ ifdef CROSS_TO_MSDOS
#=================================================================
CFLAGS += -DCROSSCOMPILE
#also set a make variable flagging this as a crosscompile
CROSSCOMPILE=1
#
# Override the build tools and some obj files to
@@ -274,6 +276,8 @@ ifdef CROSS_TO_WASM
# WASM
# originally from https://github.com/NetHack/NetHack/pull/385
#===============-=================================================
#also set a make variable flagging this as a crosscompile
CROSSCOMPILE=1
#
#WASM_DEBUG = 1
WASM_DATA_DIR = $(TARGETPFX)wasm-data
@@ -410,6 +414,8 @@ ifdef CROSS_TO_MIPS
#=================================================================
CFLAGS += -DCROSSCOMPILE
#also set a make variable flagging this as a crosscompile
CROSSCOMPILE=1
#
# Override the build tools and some obj files to
@@ -486,6 +492,8 @@ ifdef CROSS_TO_AMIGA
#=================================================================
CFLAGS += -DCROSSCOMPILE
#also set a make variable flagging this as a crosscompile
CROSSCOMPILE=1
#
# Override the build tools and some obj files to