aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/iris5.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mips/iris5.h')
-rw-r--r--gcc/config/mips/iris5.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/mips/iris5.h b/gcc/config/mips/iris5.h
index 495362f..c3e86fe 100644
--- a/gcc/config/mips/iris5.h
+++ b/gcc/config/mips/iris5.h
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler. IRIX version 5.
Copyright (C) 1993, 1995, 1996, 1998, 2000,
- 2001, 2002, 2003, 2004, 2007 Free Software Foundation, Inc.
+ 2001, 2002, 2003, 2004, 2007, 2010 Free Software Foundation, Inc.
This file is part of GCC.
@@ -37,6 +37,11 @@ irix-crti.o%s crtbegin.o%s"
#undef LIB_SPEC
#define LIB_SPEC "%{!shared:%{p:-lprof1} %{pg:-lprof1} -lc}"
+/* Avoid getting two warnings for libgcc.a everytime we link. */
+#undef LIBGCC_SPEC
+#define LIBGCC_SPEC \
+ SUBTARGET_DONT_WARN_UNUSED_SPEC " -lgcc " SUBTARGET_WARN_UNUSED_SPEC
+
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtend.o%s irix-crtn.o%s %{!shared:crtn.o%s}"