changeset 8579:c93c9e087810

(LD_SWITCH_MACHINE): Supply m/ibmrs6000.inp as input.
author Richard M. Stallman <rms@gnu.org>
date Sun, 21 Aug 1994 18:09:30 +0000
parents f7ae124181cd
children 648f78c8ecf5
files src/m/ibmrs6000.h
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/ibmrs6000.h	Sun Aug 21 18:02:21 1994 +0000
+++ b/src/m/ibmrs6000.h	Sun Aug 21 18:09:30 1994 +0000
@@ -141,10 +141,15 @@
 
 #define ORDINARY_LINK
 /* sfreed@unm.edu says add -bI:/usr/lpp/X11/bin/smt.exp for AIX 3.2.4.  */
+/* marc@sti.com (Marc Pawliger) says ibmrs6000.inp is needed to avoid
+   linker error for X11R6 library, which references pthread library
+   which most machines don't have.  We use the name .inp instead of .imp
+   because .inp is a better convention to use in make-dist for naming
+   random input files.  */
 #ifdef HAVE_AIX_SMT_EXP
-#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:/usr/lpp/X11/bin/smt.exp
+#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:m/ibmrs6000.inp,-bI:/usr/lpp/X11/bin/smt.exp
 #else
-#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp
+#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:m/ibmrs6000.inp
 #endif
 
 /* AIX supposedly doesn't use this interface, but on thr RS/6000