From: Jason Merrill Date: Thu, 20 Oct 1994 20:53:07 +0000 (+0000) Subject: (STARTFILE_SPEC): Wrap startfiles in %{!shared:}. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1e04478b06cd50f9cbfb342a517f1fea5903ebb;p=gcc.git (STARTFILE_SPEC): Wrap startfiles in %{!shared:}. From-SVN: r8325 --- 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.