From: jwalz Date: Wed, 28 May 2003 17:33:54 +0000 (+0000) Subject: That one $(LD) needs to be an $(LD). $(CC) will link in the non-shared X-Git-Tag: MOVE2GIT~1948 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be7e8373f4b57e70d9eb100b7aa986982b5ea498;p=nethack 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. --- diff --git a/sys/unix/Makefile.src b/sys/unix/Makefile.src index e0f17f93d..1d92ef665 100644 --- a/sys/unix/Makefile.src +++ b/sys/unix/Makefile.src @@ -152,7 +152,7 @@ GNOMEINC=-I/usr/lib/glib/include -I/usr/lib/gnome-libs/include -I../win/gnome # CFLAGS = -g -I../include CFLAGS = -O -I../include -LFLAGS = +LFLAGS = # 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 @@ -402,7 +402,7 @@ Sys3B2: $(HOBJ) Makefile Sysatt: $(HOBJ) Makefile @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 Systos: $(HOBJ) Makefile