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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user