From a50c47ec1758689fd6efb05259ab7af5a0ebcc37 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 15 Dec 1993 18:21:23 -0500 Subject: [PATCH] (LIB_SPEC): Use shared libc when not profiling, not debugging, and no "-static". From-SVN: r6238 --- gcc/config/mips/iris3.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/config/mips/iris3.h b/gcc/config/mips/iris3.h index 5820764a820..a58a24187b0 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" -- 2.30.2