summaryrefslogtreecommitdiff
path: root/src/m
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-08-21 18:09:30 +0000
committerRichard M. Stallman <rms@gnu.org>1994-08-21 18:09:30 +0000
commitf4c2b768d91201797bf2abedd22f664c5c8e7805 (patch)
tree61fec4a29bd11bec05fc445bb340ed2a50faf22c /src/m
parent9bfc5adef28a9c9982436e36b4731e21a0e08f1f (diff)
downloademacs-f4c2b768d91201797bf2abedd22f664c5c8e7805.tar.gz
(LD_SWITCH_MACHINE): Supply m/ibmrs6000.inp as input.
Diffstat (limited to 'src/m')
-rw-r--r--src/m/ibmrs6000.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h
index d882d01f7a1..17a2cf41693 100644
--- a/src/m/ibmrs6000.h
+++ b/src/m/ibmrs6000.h
@@ -141,10 +141,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#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