From d1e04478b06cd50f9cbfb342a517f1fea5903ebb Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 20 Oct 1994 20:53:07 +0000 Subject: [PATCH] (STARTFILE_SPEC): Wrap startfiles in %{!shared:}. From-SVN: r8325 --- gcc/gcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/gcc.c b/gcc/gcc.c index 4fb47d71610..bb7e26a480d 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. -- 2.30.2