including the installed bfd.h header fails because of missing config.h

Markus Trippelsdorf markus@trippelsdorf.de
Tue Sep 25 16:34:00 GMT 2012


On 2012.09.25 at 18:23 +0200, Matthias Klose wrote:
> Seen in a distribution test rebuild. With 2.23 and trunk every package which
> includes bfd.h fails to build, because the sanity check triggers. I can think of
> different solutions:
> 
>  - Remove the sanity check on installation
>    awk '/PR 14072/,/^#endif/ {next} {print}' bfd.h
> 
>  - Install the config.h under a different name bfd-config.h
>    and use this name in the installed bfd.h.
> 
> This should be fixed on the branch too.

Yes I agree. See also: sourceware.org/bugzilla/show_bug.cgi?id=14243

-- 
Markus



More information about the Binutils mailing list