# HG changeset patch # User Richard M. Stallman # Date 815093313 0 # Node ID ee77697284a2d9bfddd4e2af94053249c9ade9cd # Parent 9802b8e558a5dbada6eee4e374a37c5508e552ce (prefix-args): Use LDFLAGS, not ALL_LDFLAGS. diff -r 9802b8e558a5 -r ee77697284a2 src/Makefile.in --- 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)