summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorphil <phil@NetBSD.org>1994-03-22 01:28:42 +0000
committerphil <phil@NetBSD.org>1994-03-22 01:28:42 +0000
commit6be810dd60ff8903c9b1b263f07bb4a9d96bdf2e (patch)
treeab183c591263901e14ff3aba23e8d067935a0c27 /gnu
parent98cbb217ac56c19aef9fd6fd4fecf9a8ae1f2a55 (diff)
Adding the correct NetBSD LIB_SPEC.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gcc2/arch/ns32k/tm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc2/arch/ns32k/tm.h b/gnu/usr.bin/gcc2/arch/ns32k/tm.h
index b152de65e4a..21b8d8ae1f2 100644
--- a/gnu/usr.bin/gcc2/arch/ns32k/tm.h
+++ b/gnu/usr.bin/gcc2/arch/ns32k/tm.h
@@ -25,6 +25,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dns32532 -Dpc532 -Dunix -D__NetBSD__ -Dns32k"
+/* Like the default, except no -lg. */
+#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
+
/* Compile for the floating point unit & 32532 by default;
also presume SB is zero */