summaryrefslogtreecommitdiff
path: root/libquadmath/configure
diff options
context:
space:
mode:
Diffstat (limited to 'libquadmath/configure')
-rwxr-xr-xlibquadmath/configure24
1 files changed, 24 insertions, 0 deletions
diff --git a/libquadmath/configure b/libquadmath/configure
index 31918507f62..b3ee64f9c7d 100755
--- a/libquadmath/configure
+++ b/libquadmath/configure
@@ -13096,6 +13096,30 @@ fi
XCFLAGS="$XCFLAGS $CET_FLAGS"
+case x$target in
+ xpowerpc64le*-linux*)
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#if __SIZEOF_LONG_DOUBLE__ != 16
+ #error long double is double
+ #endif
+int
+main ()
+{
+(void) 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ XCFLAGS="$XCFLAGS -mno-gnu-attribute"
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+ ;;
+ *)
+ ;;
+esac
+
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure