summaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-10-30 22:48:33 +0000
committerRichard M. Stallman <rms@gnu.org>1995-10-30 22:48:33 +0000
commit4907c27b6130ccf4dd8234789b7199e06774c18b (patch)
treeef9d6a1d33b65b8ee953deff84c62a687e412a1f /src/Makefile.in
parent81f946f0b1bb45d8ad53cb8ffac3027e19664b20 (diff)
downloademacs-4907c27b6130ccf4dd8234789b7199e06774c18b.tar.gz
(prefix-args): Use LDFLAGS, not ALL_LDFLAGS.
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index d2b558b0321..140a3714eb6 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -714,8 +714,11 @@ temacs: MAKE_PARALLEL $(LOCALCPP) $(SHORT) $(STARTFILES) $(OLDXMENU) ${obj} ${ot
-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 @@ relock:
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)