(LIBGCC_SPEC): Do link with libgcc when -shared.
From-SVN: r10677
This commit is contained in:
parent
52a08fa63e
commit
bacebbcf51
|
@ -490,9 +490,9 @@ proper position among the other output files. */
|
|||
#ifndef LIBGCC_SPEC
|
||||
#if defined(LINK_LIBGCC_SPECIAL) || defined(LINK_LIBGCC_SPECIAL_1)
|
||||
/* Have gcc do the search for libgcc.a. */
|
||||
#define LIBGCC_SPEC "%{!shared:libgcc.a%s}"
|
||||
#define LIBGCC_SPEC "libgcc.a%s"
|
||||
#else
|
||||
#define LIBGCC_SPEC "%{!shared:-lgcc}"
|
||||
#define LIBGCC_SPEC "-lgcc"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue