Message ID | alpine.DEB.2.20.1711061326370.5770@digraph.polyomino.org.uk |
---|---|
State | New |
Headers | show |
Series | Do not declare _Float128 support for powerpc64le -mlong-double-64 (bug 22402) [committed] | expand |
diff --git a/sysdeps/powerpc/bits/floatn.h b/sysdeps/powerpc/bits/floatn.h index 44a9434..a293bfc 100644 --- a/sysdeps/powerpc/bits/floatn.h +++ b/sysdeps/powerpc/bits/floatn.h @@ -20,12 +20,13 @@ #define _BITS_FLOATN_H #include <features.h> +#include <bits/long-double.h> /* Defined to 1 if the current compiler invocation provides a floating-point type with the IEEE 754 binary128 format, and this glibc includes corresponding *f128 interfaces for it. */ #if defined _ARCH_PWR8 && defined __LITTLE_ENDIAN__ && (_CALL_ELF == 2) \ - && defined __FLOAT128__ + && defined __FLOAT128__ && !defined __NO_LONG_DOUBLE_MATH # define __HAVE_FLOAT128 1 #else # define __HAVE_FLOAT128 0