[PATCH] libgloss: arm: break newlib dependency

Mike Frysinger vapier@gentoo.org
Tue Jan 10 02:07:23 GMT 2023


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20230109/3461724d/attachment.sig>


More information about the Newlib mailing list