Re: [OE-core] [PATCH] gcc: Fix wrong order of gcc include paths on musl systems

2024-06-06 Thread Richard Purdie
On Thu, 2024-06-06 at 00:10 -0700, Khem Raj via lists.openembedded.org wrote: > musl does not use gcc private system headers, however, the path gets > prepended since gcc driver passes -iprefix option to cc1 based on its > installation location. This starts to prefer these headers instead of > musl

[OE-core] [PATCH] gcc: Fix wrong order of gcc include paths on musl systems

2024-06-06 Thread Khem Raj
musl does not use gcc private system headers, however, the path gets prepended since gcc driver passes -iprefix option to cc1 based on its installation location. This starts to prefer these headers instead of musl provided equivalent system headers which is not as per musl's design. This patch swit