aboutsummaryrefslogtreecommitdiffstats
path: root/src/m/mips4.h
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-09-14 19:47:43 +0000
committerRichard M. Stallman <[email protected]>1993-09-14 19:47:43 +0000
commit843873e99fb8814596a19878819cd20de0a09f15 (patch)
treedbc1ec8771ac06b859921fdb828d1374a769fecf /src/m/mips4.h
parent8669cecff5590342ca9c07c4760ac576a4000be8 (diff)
(LIB_STANDARD): Add a second -lc after crtn.o.
Diffstat (limited to 'src/m/mips4.h')
-rw-r--r--src/m/mips4.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/m/mips4.h b/src/m/mips4.h
index f0cfd43611..cb9753552a 100644
--- a/src/m/mips4.h
+++ b/src/m/mips4.h
@@ -33,7 +33,12 @@ NOTE-END */
#define START_FILES pre-crt0.o /lib/crt1.o
/* Used to have -lisode, but [email protected] says remove it
(for RISCOS 4.52). */
-#define LIB_STANDARD -lmld -lc /lib/crtn.o
+/* [email protected] says crtn.o uses _ctype
+ and therefore we must search libc again after crtn.o.
+ The -L is used to force second -lc to find the sysv version
+ of libc.a, which is needed because the BSD libc.a
+ doesn't have _ctype. */
+#define LIB_STANDARD -lmld -lc /lib/crtn.o -L/usr/lib -lc
#define COFF