changeset 13355:ee77697284a2

(prefix-args): Use LDFLAGS, not ALL_LDFLAGS.
author Richard M. Stallman <rms@gnu.org>
date Mon, 30 Oct 1995 22:48:33 +0000
parents 9802b8e558a5
children a2a68cba7996
files src/Makefile.in
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.in	Mon Oct 30 22:13:36 1995 +0000
+++ b/src/Makefile.in	Mon Oct 30 22:48:33 1995 +0000
@@ -714,8 +714,11 @@
     -o temacs ${STARTFILES} ${obj} ${otherobj}  \
     OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES}
 
+/* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE
+   often contain options that have to do with using Emacs's crt0,
+   which are only good with temacs.  */
 prefix-args: prefix-args.c $(config_h)
-	$(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) ${srcdir}/prefix-args.c -o prefix-args
+	$(CC) $(ALL_CFLAGS) $(LDFLAGS) ${srcdir}/prefix-args.c -o prefix-args
 
 /* These are needed for C compilation, on the systems that need them */
 #ifdef NEED_CPP
@@ -1003,7 +1006,7 @@
 ctagsfiles = [a-zA-Z]*.[hc]
 lisptagsfiles = ../lisp/[a-zA-Z]*.el
 TAGS: $(ctagsfiles)
-	export DIR=`pwd`; cd ${srcdir}; \
+	export DIR; DIR=`pwd`; cd ${srcdir}; \
 	$$DIR/../lib-src/etags --include=../lisp/TAGS \
 	--regex='/[ 	]*DEFVAR_[A-Z_ 	(]+"\([^"]+\)"/' $(ctagsfiles)
 ${lispsource}TAGS: ${lispsource}$(lisptagsfiles)