On 04/01/2015 12:02 PM, Eric Botcazou wrote:
>> All the other in-tree front ends use it, including Java, Fortran, and Go.
> 
> Out of laziness I'd say. ;-)  AFAIK the Ada FE never did it.

Would it make sense to add “%(gnat1_options)”, so that Fedora can use it
specs-file-based injection for Ada programs as well?

<https://fedoraproject.org/wiki/Changes/Harden_All_Packages?rd=Changes/Harden_all_packages_with_position-independent_code#Detailed_Harden_Flags_Description>

>> Would it be possible to add some other injection mechanism so that it is
>> possible customize the gnat1 flags using the specs file mechanism?
> 
> Yes, defining a common set of base options would be welcome.

Doesn't common.opt serve this purpose?  But if I understand you
correctly, the Ada front end alters semantics of flags in common.opt,
which means we are in a bit of a difficult position here.

-- 
Florian Weimer / Red Hat Product Security

Reply via email to