diff options
author | Jason Merrill <merrill@gnu.org> | 1995-03-25 02:06:54 +0000 |
---|---|---|
committer | Jason Merrill <merrill@gnu.org> | 1995-03-25 02:06:54 +0000 |
commit | daa12375ee5a7552b3f216e0e94f46890c2e02a1 (patch) | |
tree | 57a2f00269e244cfb0e5da1b47a62773eaaeb3a9 /gcc | |
parent | 7215f9a09ff3c8f973c7cb81c478ad24079dbb6e (diff) | |
download | gcc-daa12375ee5a7552b3f216e0e94f46890c2e02a1.zip gcc-daa12375ee5a7552b3f216e0e94f46890c2e02a1.tar.gz gcc-daa12375ee5a7552b3f216e0e94f46890c2e02a1.tar.bz2 |
(LIB_SPEC): Don't try to link with libraries we
> know only exist in archive form unless -static.
From-SVN: r9231
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/i386/linux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index a28fbef..79d7333 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -73,8 +73,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef LIB_SPEC #define LIB_SPEC \ -"%{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \ - %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}" +"%{mieee-fp:-lieee} %{p*:-lgmon} %{!static:-lc} \ + %{static:%{p*:-lc_p} %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}" #undef STARTFILE_SPEC #define STARTFILE_SPEC "%{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}} %{static:-static}" |