From d1e04478b06cd50f9cbfb342a517f1fea5903ebb Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 20 Oct 1994 20:53:07 +0000 Subject: (STARTFILE_SPEC): Wrap startfiles in %{!shared:}. From-SVN: r8325 --- gcc/gcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/gcc.c b/gcc/gcc.c index 4fb47d7..bb7e26a 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -464,7 +464,7 @@ proper position among the other output files. */ /* config.h can define STARTFILE_SPEC to override the default crt0 files. */ #ifndef STARTFILE_SPEC #define STARTFILE_SPEC \ - "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}" + "%{!shared:%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}" #endif /* config.h can define SWITCHES_NEED_SPACES to control passing -o and -L. -- cgit v1.1