On Tue, Oct 23, 2018 at 02:58:21PM +0100, Richard Earnshaw (lists) wrote:
> On 15/10/2018 11:10, Christophe Lyon wrote:
> > Do you mean to also make -mfdpic non-existent/rejected when GCC is not
> > configured
> > for arm-uclinuxfdpiceabi? 
> 
> Ideally doesn't exist, so that it doesn't show up in things like --help
> when it doesn't work.
> 
> > How to achieve that?
> 
> Good question, I'm not sure, off hand.  It might be possible to make the
> config machinery add additional opt files, but it's not something I've
> tried.  You might want to try adding an additional opt file to
> extra_options for fdpic targets.

That should work yes.  You could look at how 476.opt is added for powerpc,
it is a comparable situation.


Segher

Reply via email to