diff options
author | David Edelsohn <edelsohn@gnu.org> | 2001-12-30 04:11:52 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2001-12-29 23:11:52 -0500 |
commit | bde5864890fd35c90a0eee732b030ff634c30eca (patch) | |
tree | 851db4307d63d25eb05746d849b156969031d25c /gcc/gcc.c | |
parent | 80f33d06a3c11890c664c8936e29dade49dfd7f2 (diff) | |
download | gcc-bde5864890fd35c90a0eee732b030ff634c30eca.tar.gz |
gcc.c (init_gcc_spec): Do not link with static libgcc.a if gcc invoked with -shared.
* gcc.c (init_gcc_spec): Do not link with static libgcc.a if
gcc invoked with -shared.
From-SVN: r48396
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index 3d22c8c408b..5094c3bfe0c 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -1439,7 +1439,7 @@ init_gcc_specs (obstack, shared_name, static_name, eh_name) #ifdef LINK_EH_SPEC sprintf (buffer, "%s}}}", static_name); #else - sprintf (buffer, "%s %s}}}", shared_name, static_name); + sprintf (buffer, "%s}}}", shared_name); #endif obstack_grow (obstack, buffer, strlen (buffer)); /* Otherwise, use the static version. */ |