[PATCH] libgloss: arm: break newlib dependency

Corinna Vinschen vinschen@redhat.com
Tue Jan 10 08:43:48 GMT 2023


On Jan  9 21:07, Mike Frysinger wrote:
> On 09 Jan 2023 11:29, Corinna Vinschen wrote:
> > On Jan  3 22:06, Mike Frysinger wrote:
> > > On 04 Jan 2023 03:17, Stefan Tauner wrote:
> > > > wouldn't it make sense to add the "include" directory itself to the
> > > > build process(es) as include directory instead of prepending it to all
> > > > #include statements?
> > > 
> > > the include/ dir has headers that conflict with standard headers like
> > > getopt.h.  this causes build failures.
> > 
> > What about using -idirafter instead?
> 
> that should work.  newlib isn't using it today, so i didn't think we
> wanted to start.  if you're fine with it, i can try it.
> -mike

No problems.  It exists for just such an opportunity and we're already
using it in the winsup/utils branch.


Corinna



More information about the Newlib mailing list