diff options
author | David Edelsohn <edelsohn@gnu.org> | 2002-02-23 00:00:27 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2002-02-22 19:00:27 -0500 |
commit | 43710f9f8933a7925b6fe656513a75c8fe6016d1 (patch) | |
tree | 92d0135bd46ddbe3b8f859ac53e8b82e59f96b24 /gcc/gcc.c | |
parent | dcb3680413ddbac725846769b127acad221c4588 (diff) | |
download | gcc-43710f9f8933a7925b6fe656513a75c8fe6016d1.zip gcc-43710f9f8933a7925b6fe656513a75c8fe6016d1.tar.gz gcc-43710f9f8933a7925b6fe656513a75c8fe6016d1.tar.bz2 |
gcc.c (init_gcc_spec): Do not link with static libgcc.a if gcc invoked with -shared-libgcc.
* gcc.c (init_gcc_spec): Do not link with static libgcc.a if
gcc invoked with -shared-libgcc.
From-SVN: r49979
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1418,7 +1418,7 @@ init_gcc_specs (obstack, shared_name, static_name, eh_name) const char *p; /* If we see -shared-libgcc, then use the shared version. */ - sprintf (buffer, "%%{shared-libgcc:%s %s}", shared_name, static_name); + sprintf (buffer, "%%{shared-libgcc:%s}", shared_name); obstack_grow (obstack, buffer, strlen (buffer)); /* If we see -static-libgcc, then use the static version. */ sprintf (buffer, "%%{static-libgcc:%s %s}", static_name, eh_name); |