From 5df09b444835fca6e64b3d4b4a5beb19b3b2ba21 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 5 Dec 2024 08:39:44 +0800 Subject: math: Exclude internal math symbols for tests [BZ #32414] Since internal tests don't have access to internal symbols in libm, exclude them for internal tests. Also make tst-strtod5 and tst-strtod5i depend on $(libm) to support older versions of GCC which can't inline copysign family functions. This fixes BZ #32414. Signed-off-by: H.J. Lu Reviewed-by: Sunil K Pandey --- stdlib/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stdlib') diff --git a/stdlib/Makefile b/stdlib/Makefile index c4c2f7fa96..370cfa57aa 100644 --- a/stdlib/Makefile +++ b/stdlib/Makefile @@ -609,6 +609,8 @@ $(objpfx)bug-strtod2: $(libm) $(objpfx)tst-strtod-round: $(libm) $(objpfx)tst-tininess: $(libm) $(objpfx)tst-strtod-underflow: $(libm) +$(objpfx)tst-strtod5: $(libm) +$(objpfx)tst-strtod5i: $(libm) $(objpfx)tst-strtod6: $(libm) $(objpfx)tst-strtod-nan-locale: $(libm) $(objpfx)tst-strtod-nan-sign: $(libm) -- cgit v1.2.3