That one $(LD) needs to be an $(LD). $(CC) will link in the non-shared
C library and cause problems with address space for something NetHack's size.
This commit is contained in:
@@ -152,7 +152,7 @@ GNOMEINC=-I/usr/lib/glib/include -I/usr/lib/gnome-libs/include -I../win/gnome
|
|||||||
# CFLAGS = -g -I../include
|
# CFLAGS = -g -I../include
|
||||||
|
|
||||||
CFLAGS = -O -I../include
|
CFLAGS = -O -I../include
|
||||||
LFLAGS =
|
LFLAGS =
|
||||||
|
|
||||||
# The Qt and Be window systems are written in C++, while the rest of
|
# The Qt and Be window systems are written in C++, while the rest of
|
||||||
# NetHack is standard C. If using Qt, uncomment the LINK line here to get
|
# NetHack is standard C. If using Qt, uncomment the LINK line here to get
|
||||||
@@ -402,7 +402,7 @@ Sys3B2: $(HOBJ) Makefile
|
|||||||
|
|
||||||
Sysatt: $(HOBJ) Makefile
|
Sysatt: $(HOBJ) Makefile
|
||||||
@echo "Loading ..."
|
@echo "Loading ..."
|
||||||
@$(LINK) $(LFLAGS) /lib/crt0s.o /lib/shlib.ifile -o $(GAME) $(HOBJ)
|
@$(LD) $(LFLAGS) /lib/crt0s.o /lib/shlib.ifile -o $(GAME) $(HOBJ)
|
||||||
@touch Sysatt
|
@touch Sysatt
|
||||||
|
|
||||||
Systos: $(HOBJ) Makefile
|
Systos: $(HOBJ) Makefile
|
||||||
|
|||||||
Reference in New Issue
Block a user