]> granicus.if.org Git - nethack/commitdiff
That one $(LD) needs to be an $(LD). $(CC) will link in the non-shared
authorjwalz <jwalz>
Wed, 28 May 2003 17:33:54 +0000 (17:33 +0000)
committerjwalz <jwalz>
Wed, 28 May 2003 17:33:54 +0000 (17:33 +0000)
C library and cause problems with address space for something NetHack's
size.

sys/unix/Makefile.src

index e0f17f93ded92fb9e666a8c2a9a81958bc4eac1a..1d92ef6654e6b13d3e1c8edbc0b92eab3b559c12 100644 (file)
@@ -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