Hello Iain, > On 19 Aug 2020, at 14:17, Iain Buclaw <ibuc...@gdcproject.org> wrote:
> Ah, no worries, attached updated patch. > As we have discussed this off the lists though, we agreed to compromise > and leave -nostdinc as it is in SELFTEST_FLAGS. > Iain. > > --- > gcc/ChangeLog: > > * config/vxworks.h (VXWORKS_ADDITIONAL_CPP_SPEC): Don't include > VxWorks header files if -fself-tests is used. > (STARTFILE_PREFIX_SPEC): Avoid using VSB_DIR if -fself-tests is used. OK, nit on the ChangeLog: this is -fself-test (no trailing s). We have a batch of vxworks changes queued that we will be submitting soon, and we might get to rationalize this with other places along the way. Thanks! Olivier