summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorgavin <gavin@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-20 13:12:25 +0000
committergavin <gavin@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-20 13:12:25 +0000
commit819d9e5a97bc500aa8a8d7944512714af8cf143e (patch)
tree224052d1cd86a4c805d60c2969f602d08ab8c2af /gcc/config
parent89bd65fff7d24c6503f062441fcd36c2fb647326 (diff)
downloadgcc-819d9e5a97bc500aa8a8d7944512714af8cf143e.tar.gz
1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* linux.h (LIB_SPEC): Added. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28778 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/mips/linux.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h
index f4ed424a605..2ca30ea3d84 100644
--- a/gcc/config/mips/linux.h
+++ b/gcc/config/mips/linux.h
@@ -55,6 +55,13 @@ Boston, MA 02111-1307, USA. */
#undef MIPS_DEFAULT_GVALUE
#define MIPS_DEFAULT_GVALUE 0
+#undef LIB_SPEC
+/* Taken from sparc/linux.h. */
+#define LIB_SPEC \
+ "%{shared: -lc} \
+ %{!shared: %{mieee-fp:-lieee} %{pthread:-lpthread} \
+ %{profile:-lc_p} %{!profile: -lc}}"
+
/* Borrowed from sparc/linux.h */
#undef LINK_SPEC
#define LINK_SPEC "-Y P,/usr/lib %{shared:-shared} \