diff options
author | Jason Merrill <merrill@gnu.org> | 1995-05-10 05:49:16 +0000 |
---|---|---|
committer | Jason Merrill <merrill@gnu.org> | 1995-05-10 05:49:16 +0000 |
commit | 046b1537a0e4d57cb0c5908c993b13603a116790 (patch) | |
tree | 99afdd9872ee2c82b4c4640ada7a0b5f6b00422b /gcc | |
parent | 863adfc08e432113d48628e925e9768ad1b5476b (diff) | |
download | gcc-046b1537a0e4d57cb0c5908c993b13603a116790.zip gcc-046b1537a0e4d57cb0c5908c993b13603a116790.tar.gz gcc-046b1537a0e4d57cb0c5908c993b13603a116790.tar.bz2 |
(LIBGCC_SPEC): Do link with libgcc when -shared.
From-SVN: r9607
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 449bf53..c13a6b4 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -96,7 +96,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ %{p:-L/lib/profiled -L/usr/lib/profiled} %{!shared:%{g*:-lg}} -lc" /* gcc must do the search itself to find libgcc.a, not use -l. */ -#define LIBGCC_SPEC "%{!shared:libgcc.a%s}" +#define LIBGCC_SPEC "libgcc.a%s" /* Don't turn -B into -L if the argument specifies a relative file name. */ #define RELATIVE_PREFIX_NOT_LINKDIR |