changeset 5368:f416b0f85249

(LDFLAGS): Define as empty. (ALL_LDFLAGS): Define as LDFLAGS used to be defined. (temacs): Use ALL_LDFLAGS.
author Richard M. Stallman <rms@gnu.org>
date Thu, 30 Dec 1993 07:20:56 +0000
parents e4f5f2674f34
children 409c8dd33f42
files src/Makefile.in
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.in	Wed Dec 29 07:43:21 1993 +0000
+++ b/src/Makefile.in	Thu Dec 30 07:20:56 1993 +0000
@@ -26,6 +26,7 @@
 CC=@CC@
 CPP=@CPP@
 CFLAGS=@CFLAGS@
+LDFLAGS=
 C_SWITCH_SYSTEM=
 LN_S=@LN_S@
 # These escaped doublequotes become part of the macro definition in emacs.c.
@@ -360,7 +361,7 @@
 #endif /* ! defined (COFF_ENCAPSULATE) */
 #endif /* not ORDINARY_LINK */
 
-LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_MACHINE LD_SWITCH_SITE
+ALL_LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_MACHINE LD_SWITCH_SITE
 
 /* A macro which other sections of ymakefile can redefine to munge the
    flags before they're passed to LD.  This is helpful if you have
@@ -561,7 +562,7 @@
 #endif
 
 temacs: MAKE_PARALLEL $(LOCALCPP) $(SHORT) $(STARTFILES) $(OLDXMENU) ${obj} ${otherobj} OBJECTS_SYSTEM OBJECTS_MACHINE prefix-args
-	$(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${LDFLAGS}) \
+	$(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${ALL_LDFLAGS}) ${LDFLAGS} \
     -o temacs ${STARTFILES} ${obj} ${otherobj}  \
     OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES}