Mercurial > emacs
changeset 47186:2effa3424802
(TEMACS_LDFLAGS): Renamed from ALL_LDFLAGS. Don't include LDFLAGS.
(temacs): Pass LDFLAGS separately, and not via YMF_PASS_LDFLAGS.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 01 Sep 2002 13:38:23 +0000 |
parents | 2ff45b08a155 |
children | 075242ae1c42 |
files | src/Makefile.in |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Makefile.in Sun Sep 01 13:37:41 2002 +0000 +++ b/src/Makefile.in Sun Sep 01 13:38:23 2002 +0000 @@ -505,8 +505,9 @@ #endif /* not COFF_ENCAPSULATE */ #endif /* not ORDINARY_LINK */ -ALL_LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_TEMACS LD_SWITCH_MACHINE \ - LD_SWITCH_MACHINE_TEMACS LD_SWITCH_SITE $(LDFLAGS) +/* Flags to pass to LD only for temacs. */ +TEMACS_LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_TEMACS LD_SWITCH_MACHINE \ + LD_SWITCH_MACHINE_TEMACS LD_SWITCH_SITE /* A macro which other sections of Makefile can redefine to munge the flags before they're passed to LD. This is helpful if you have @@ -894,7 +895,7 @@ #endif temacs: MAKE_PARALLEL $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_MACHINE prefix-args - $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${ALL_LDFLAGS}) \ + $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${TEMACS_LDFLAGS}) $(LDFLAGS) \ -o temacs ${STARTFILES} ${obj} ${otherobj} \ OBJECTS_MACHINE ${LIBES}