Re: [RFC PATCH] Allow user specs files to add self_spec

2011-08-04 Thread Joseph S. Myers
On Wed, 3 Aug 2011, Jakub Jelinek wrote: > 2011-08-03 Jakub Jelinek > > * gcc.c (self_spec): New variable. > (static_specs): Add self_spec. > (main): Call do_self_spec on "self_spec" specs after reading > user specs files. Move compare_debug handling right after that.

[RFC PATCH] Allow user specs files to add self_spec

2011-08-03 Thread Jakub Jelinek
Hi! I couldn't find a way to add an option in specs, so that it would affect other specs, like e.g. to make -pie the default if -shared/-static/-pie/-r isn't passed in specs would require duplicating *startfile/*endfile: %rename link link_pie_old *link: %{shared|static|pie|r:;:-pie} %(link_pie_old