cross-compile fix-up

This commit is contained in:
nhmall
2020-10-09 08:52:46 -04:00
parent dde561810d
commit de80dd2437
2 changed files with 4 additions and 1 deletions

View File

@@ -572,7 +572,8 @@ HACKINCL = align.h artifact.h artilist.h attrib.h botl.h \
HSOURCES = $(HACKINCL) date.h onames.h pm.h vis_tab.h dgn_file.h
# the following .o's _must_ be made before any others (for makedefs)
HOSTOBJ = monst.o objects.o alloc.o drawing.o
FIRSTOBJ = monst.o objects.o
HOSTOBJ = $(FIRSTOBJ) alloc.o drawing.o
HOBJ = $(TARGETPFX)allmain.o $(TARGETPFX)alloc.o \
$(TARGETPFX)apply.o $(TARGETPFX)artifact.o $(TARGETPFX)attrib.o \

View File

@@ -1296,7 +1296,9 @@ do_date()
Fprintf(ofp, "#define NETHACK_%sGIT_BRANCH \"%s\"\n",
xpref, gitbranch);
}
#if !defined(CROSSCOMPILE) || !defined(CROSSCOMPILE_TARGET)
Fprintf(ofp, "#endif /* !CROSSCOMPILE || !CROSSCOMPILE_TARGET */\n");
#endif
Fprintf(ofp, "\n");
#ifdef AMIGA
{