Commit daa12375 by Jason Merrill

(LIB_SPEC): Don't try to link with libraries we

>         know only exist in archive form unless -static.

From-SVN: r9231
parent 7215f9a0
...@@ -73,8 +73,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -73,8 +73,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef LIB_SPEC #undef LIB_SPEC
#define LIB_SPEC \ #define LIB_SPEC \
"%{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \ "%{mieee-fp:-lieee} %{p*:-lgmon} %{!static:-lc} \
%{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}" %{static:%{p*:-lc_p} %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
#undef STARTFILE_SPEC #undef STARTFILE_SPEC
#define STARTFILE_SPEC "%{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}} %{static:-static}" #define STARTFILE_SPEC "%{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}} %{static:-static}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment