summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-26 01:41:59 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-26 01:41:59 +0000
commitf3216838e86b1e40c72b34ce538894ac33c10e77 (patch)
tree1c3b967771abc9a46d817f68c172dcbbad2f6643
parent12a274bfe39d571db78cc0bfc3c253386a64726b (diff)
(LD_SWITCH_SYSTEM_TEMACS): Define this instead of LD_SWITCH_SYSTEM.
-rw-r--r--src/s/hpux8.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/s/hpux8.h b/src/s/hpux8.h
index 86a04f77ae..a525cce068 100644
--- a/src/s/hpux8.h
+++ b/src/s/hpux8.h
@@ -23,23 +23,27 @@
#define ORDINARY_LINK
#ifdef HPUX_USE_SHLIBS
-#define LD_SWITCH_SYSTEM
+#define LD_SWITCH_SYSTEM_TEMACS
#else
-#define LD_SWITCH_SYSTEM -Xlinker -a -Xlinker archive
+#define LD_SWITCH_SYSTEM_TEMACS -Xlinker -a -Xlinker archive
#endif
#else /* not __GNUC__ */
+/* Note, -a only works for hpux ld, not cc. And "cc LD_SWITCH_SYSTEM"
+ is used in configure's $ac_link to do various autoconf checks.
+ Since we only need -a when unexec'ing, only pass in -a to
+ "ld temacs" (ghazi@caip.rutgers.edu 7/10/97). */
#if (defined(hp9000s700) || defined(__hp9000s700))
#ifdef HPUX_USE_SHLIBS
-#define LD_SWITCH_SYSTEM -L/lib/pa1.1
+#define LD_SWITCH_SYSTEM_TEMACS -L/lib/pa1.1
#else
-#define LD_SWITCH_SYSTEM -a archive -L/lib/pa1.1
+#define LD_SWITCH_SYSTEM_TEMACS -a archive -L/lib/pa1.1
#endif
#else /* not (defined(hp9000s700) || defined(__hp9000s700)) */
#ifdef HPUX_USE_SHLIBS
-#define LD_SWITCH_SYSTEM
+#define LD_SWITCH_SYSTEM_TEMACS
#else
-#define LD_SWITCH_SYSTEM -a archive
+#define LD_SWITCH_SYSTEM_TEMACS -a archive
#endif
#endif /* not (defined(hp9000s700) || defined(__hp9000s700)) */
#endif /* not __GNUC__ */