]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
math: Fix powerpc64le -Os build after 6b7067460f
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 23 Dec 2025 17:31:06 +0000 (14:31 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 12 Jan 2026 13:34:42 +0000 (10:34 -0300)
The __USE_EXTERN_INLINES is gated __OPTIMIZE_SIZE__, so also gated
the alias required using the same logic.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
sysdeps/ieee754/float128/s_fabsf128.c

index 9d64f1504028f8a76d5a336254e819109fd40e50..1e0ce65804c6946343365b25eb9158f2feded637 100644 (file)
@@ -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);      \