[PATCH] math: Fix powerpc64le -Os build after 6b7067460f

Adhemerval Zanella adhemerval.zanella@linaro.org
Tue Dec 23 17:31:06 GMT 2025


The __USE_EXTERN_INLINES is gated __OPTIMIZE_SIZE__, so also gated
the alias required using the same logic.
---
 sysdeps/ieee754/float128/s_fabsf128.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/ieee754/float128/s_fabsf128.c b/sysdeps/ieee754/float128/s_fabsf128.c
index 9d64f15040..1e0ce65804 100644
--- a/sysdeps/ieee754/float128/s_fabsf128.c
+++ b/sysdeps/ieee754/float128/s_fabsf128.c
@@ -1,5 +1,5 @@
 #include <float128_private.h>
-#ifndef __USE_EXTERN_INLINES
+#if !defined __USE_EXTERN_INLINES && !defined(__OPTIMIZE_SIZE__)
 # undef libm_alias_float128_r
 # define libm_alias_float128_r(from, to, r)			\
   static_weak_alias (from ## f128 ## r, to ## f128 ## r);	\
-- 
2.43.0



More information about the Libc-alpha mailing list