re PR lto/45375 ([meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO)
PR lto/45375 * lto-opt.c (lto_reissue_options): Set flag_shlib. From-SVN: r168580
This commit is contained in:
parent
eaf31d823f
commit
fe95fbf907
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
|
|
@ -420,5 +420,9 @@ lto_reissue_options (void)
|
|||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue