Commit 046b1537 by Jason Merrill

(LIBGCC_SPEC): Do link with libgcc when -shared.

From-SVN: r9607
parent 863adfc0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment