PR lto/45375
* lto-opt.c (lto_reissue_options): Set flag_shlib.
From-SVN: r168580
+2011-01-07 Jan Hubicka <jh@suse.cz>
+
+ PR lto/45375
+ * lto-opt.c (lto_reissue_options): Set flag_shlib.
+
2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
* target.def (function_switched_text_sections): New Hook.
gcc_unreachable ();
}
+ /* Flag_shlib is usually set by finish_options, but we are issuing flag_pic
+ too late. */
+ if (flag_pic && !flag_pie)
+ flag_shlib = 1;
VEC_free (opt_t, heap, opts);
}