aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1997-10-21 02:59:21 +0000
committerKarl Heuer1997-10-21 02:59:21 +0000
commit5be75283b34382bc587142f0fe76474345cc2122 (patch)
tree94588f66d6a0559bea14cef86c7e93c73df6e75a /src
parent3c3a57e3debe388ec3959b94f6fd2b7cd9c27ab1 (diff)
downloademacs-5be75283b34382bc587142f0fe76474345cc2122.tar.gz
emacs-5be75283b34382bc587142f0fe76474345cc2122.zip
(LD_SWITCH_MACHINE_TEMACS): New macro (defaults empty).
(ALL_LDFLAGS): Use LD_SWITCH_MACHINE_TEMACS here.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 8156dd51893..819c37609ee 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -155,6 +155,12 @@ CC = C_COMPILER
155#define LD_SWITCH_MACHINE 155#define LD_SWITCH_MACHINE
156#endif 156#endif
157 157
158/* This holds special options for linking temacs
159 that should be used for linking anything else. */
160#ifndef LD_SWITCH_MACHINE_TEMACS
161#define LD_SWITCH_MACHINE_TEMACS
162#endif
163
158/* Some m/MACHINE.h files define this to request special switches in cc. */ 164/* Some m/MACHINE.h files define this to request special switches in cc. */
159#ifndef C_SWITCH_MACHINE 165#ifndef C_SWITCH_MACHINE
160#define C_SWITCH_MACHINE 166#define C_SWITCH_MACHINE
@@ -456,7 +462,7 @@ LD=ld
456#endif /* not ORDINARY_LINK */ 462#endif /* not ORDINARY_LINK */
457 463
458ALL_LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_TEMACS LD_SWITCH_MACHINE \ 464ALL_LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_TEMACS LD_SWITCH_MACHINE \
459 LD_SWITCH_SITE $(LDFLAGS) 465 LD_SWITCH_MACHINE_TEMACS LD_SWITCH_SITE $(LDFLAGS)
460 466
461/* A macro which other sections of Makefile can redefine to munge the 467/* A macro which other sections of Makefile can redefine to munge the
462 flags before they're passed to LD. This is helpful if you have 468 flags before they're passed to LD. This is helpful if you have