changeset 20099:f4b3337de362

(LD_SWITCH_MACHINE_TEMACS): New macro (defaults empty). (ALL_LDFLAGS): Use LD_SWITCH_MACHINE_TEMACS here.
author Karl Heuer <kwzh@gnu.org>
date Tue, 21 Oct 1997 02:59:21 +0000
parents e86f41e696b1
children 0db4553d47cc
files src/Makefile.in
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.in	Tue Oct 21 02:57:44 1997 +0000
+++ b/src/Makefile.in	Tue Oct 21 02:59:21 1997 +0000
@@ -155,6 +155,12 @@
 #define LD_SWITCH_MACHINE
 #endif
 
+/* This holds special options for linking temacs
+   that should be used for linking anything else.  */
+#ifndef LD_SWITCH_MACHINE_TEMACS
+#define LD_SWITCH_MACHINE_TEMACS
+#endif
+
 /* Some m/MACHINE.h files define this to request special switches in cc.  */
 #ifndef C_SWITCH_MACHINE
 #define C_SWITCH_MACHINE
@@ -456,7 +462,7 @@
 #endif /* not ORDINARY_LINK */
 
 ALL_LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_TEMACS LD_SWITCH_MACHINE \
-	 LD_SWITCH_SITE $(LDFLAGS)
+	 LD_SWITCH_MACHINE_TEMACS LD_SWITCH_SITE $(LDFLAGS)
 
 /* 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