Re: [PATCH] unify -posix/-pthread cpp handling for gnu-user targets

2015-05-29 Thread Joseph Myers
On Thu, 28 May 2015, Mike Frysinger wrote: Some targets still define -posix/-pthread in SUBTARGET_CPP_SPEC and in CPP_SUBTARGET_SPEC, but I can't seem to find any reference to either of those defines. Are they dead/confused code and I should just delete it ? Any correct definitions of those

[PATCH] unify -posix/-pthread cpp handling for gnu-user targets

2015-05-28 Thread Mike Frysinger
Many Linux targets duplicate the cpp spec macros for turning -posix/-thread into the right defines. Some Linux targets forget to do this entirely and can be hard to notice. Add common definitions to the gnu headers (since these are really in relation to the C library) and drop the duplications