[PATCH] Define and use TARGET_CC and TARGET_CXX
H.J. Lu
hjl.tools@gmail.com
Tue Dec 17 02:37:19 GMT 2024
On Tue, Dec 17, 2024 at 9:36 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> On Tue, Dec 17, 2024 at 6:35 AM Joseph Myers <josmyers@redhat.com> wrote:
> >
> > On Tue, 17 Dec 2024, H.J. Lu wrote:
> >
> > > CC and CXX will be overridden by TEST_CC and TEST_CXX in testing. Define
> > > and use TARGET_CC and TARGET_CXX for check-installed-headers.sh since it
> > > uses -finput-charset=ascii which isn't supported by Clang.
> >
> > If someone is using Clang in TEST_CC and TEST_CXX, I expect they want as
> > much as possible to be tested with Clang - including verifying that all
> > the installed headers do compile OK with Clang. (Functionality of
> > installed headers is arguably the most important thing to test with
> > different compilers, although many potential issues would be with macro
> > definitions or similar and so not show up in these tests.) It would seem
> > better to avoid using -finput-charset=ascii in this test when not
> > supported, rather than preventing these tests from running with Clang.
>
> Will do it as the part of the Clang test patch set.
Unfortunately, I got
error: unknown argument: '-dN'
Is there a way to avoid -dN which Clang doesn't support?
--
H.J.
More information about the Libc-alpha
mailing list