aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-12-15 18:21:23 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-12-15 18:21:23 -0500
commita50c47ec1758689fd6efb05259ab7af5a0ebcc37 (patch)
tree1edb74c073cd21b8ede2cac034887d701a65bb54 /gcc
parent1f9becfcbe01274dd5a98f551cd432adae05a8b2 (diff)
downloadgcc-a50c47ec1758689fd6efb05259ab7af5a0ebcc37.zip
gcc-a50c47ec1758689fd6efb05259ab7af5a0ebcc37.tar.gz
gcc-a50c47ec1758689fd6efb05259ab7af5a0ebcc37.tar.bz2
(LIB_SPEC): Use shared libc when not profiling, not debugging, and no
"-static". From-SVN: r6238
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/iris3.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/mips/iris3.h b/gcc/config/mips/iris3.h
index 5820764..a58a241 100644
--- a/gcc/config/mips/iris3.h
+++ b/gcc/config/mips/iris3.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler. Iris version.
- Copyright (C) 1991 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1993 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -37,7 +37,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{.m: -D_LANGUAGE_OBJECTIVE_C} \
%{!.S: %{!.s: %{!.cc: %{!.cxx: %{!.C: %{!.m: -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}}}}}"
-#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p} crtn.o%s"
+#define LIB_SPEC \
+ "%{!p:%{!pg:%{!static:%{!g*:-lc_s}} -lc}}%{p:-lc_p}%{pg:-lc_p} crtn.o%s"
#define MACHINE_TYPE "Silicon Graphics Mips"