On 10/23/2015 07:36 PM, Doug Evans wrote:
​The only significant different AFAICT is that GCC_INCLUDE_DIR is moved
to later (last).
Why this is is briefly described in the intro comment:

config/linux.h:
​
  /* musl avoids problematic includes by rearranging the include
directories.
  * Unfortunately, this is mostly duplicated from cppdefault.c */

I saw that, but it's not a helpful comment - it has insufficient definitions of "problematic" and "rearranging".

​I've put LOCAL in the same place as the default (as defined by
cppdefault.c),
so one could separate the issues here ...

1) Where does LOCAL go for musl?
2) More clarification as to why musl doesn't use the default.
​
... and thus not block this patch on a more global musl rethink.

Yeah, that part wasn't addressed at you. If the musl folks are happy with your choice of order your patch can go in, but I'd ask them to strongly consider a different approach.


Bernd

Reply via email to