]> git.ipfire.org Git - thirdparty/glibc.git/commit
Don't use glibc <tgmath.h> when testing with Clang
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 18 Dec 2024 10:58:34 +0000 (18:58 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 20 Dec 2024 21:24:07 +0000 (05:24 +0800)
commit034cd675286db07110a773fdb6a857285485d2d4
tree7c7d90d534fae490f07c2091e8da69340b9b1073
parent6025b399c735d3d9f27472b11fad2cab4f62aeb5
Don't use glibc <tgmath.h> when testing with Clang

Clang has its own <tgmath.h> and doesn't use <tgmath.h> from glibc.  Pass
"-I." to compiler only if $($(<F)-no-include-dot) are undefined.  Define
it to yes for tgmath tests when testing with Clang.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
Makeconfig
include/tgmath.h
math/Makefile