Commit 5a841e07 by Jason Merrill

(LINK_SPEC): Pass -shared through; don't

        pass -init __main if -shared.

From-SVN: r8327
parent f987462f
......@@ -26,4 +26,5 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef LINK_SPEC
#define LINK_SPEC \
"-G 8 -O1 %{static:-non_shared} %{!static:-call_shared} -init __main"
"-G 8 -O1 %{!shared:-init __main} %{static:-non_shared}
%{!static:%{shared:-shared} %{!shared:-call_shared}}"
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