]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Disable more attempts to pass -mlong-double-128 to clang
authorStan Shebs <stanshebs@google.com>
Wed, 26 Sep 2018 20:36:42 +0000 (13:36 -0700)
committerFangrui Song <i@maskray.me>
Sat, 28 Aug 2021 00:23:13 +0000 (17:23 -0700)
sysdeps/powerpc/powerpc64le/configure
sysdeps/powerpc/powerpc64le/configure.ac
sysdeps/unix/sysv/linux/powerpc/configure
sysdeps/unix/sysv/linux/powerpc/configure.ac

index 66bb5dcc1aab12febc181cfd514bfdbb6f5d4ab2..d40221b7743db2ee2ab8c803a875fb6751a27cbd 100644 (file)
@@ -1,6 +1,7 @@
 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
  # Local configure fragment for sysdeps/powerpc/powerpc64le.
 
+if test "$with_clang" = no; then
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports binary128 floating point type" >&5
 $as_echo_n "checking if $CC supports binary128 floating point type... " >&6; }
@@ -42,6 +43,8 @@ if test "$libc_cv_compiler_powerpc64le_binary128_ok" != "yes"; then :
   critic_missing="$critic_missing binary128 floating point type (GCC >= 6.2) is required on powerpc64le."
 fi
 
+fi # clang
+
 OLD_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS $libc_cv_cc_submachine"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the target machine is at least POWER8" >&5
index 20a49d89e8d97bc48f0babe70ef0084072cbca1b..d00a0044b449011a007637ddf4db3f10e8f3983c 100644 (file)
@@ -1,6 +1,8 @@
 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
 # Local configure fragment for sysdeps/powerpc/powerpc64le.
 
+if test "$with_clang" = no; then
+
 dnl Require binary128 floating point support on powerpc64le (available in
 dnl GCC 6.2).
 AC_CACHE_CHECK([if $CC supports binary128 floating point type],
@@ -29,6 +31,8 @@ CFLAGS="$save_CFLAGS"])
 AS_IF([test "$libc_cv_compiler_powerpc64le_binary128_ok" != "yes"],
       [critic_missing="$critic_missing binary128 floating point type (GCC >= 6.2) is required on powerpc64le."])
 
+fi # clang
+
 dnl Require at least POWER8 on powerpc64le
 OLD_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS $libc_cv_cc_submachine"
index 6f883de396e5369b54ff300e81628ad4abcb9b3a..6d2465fcac6dfd0c3df5457282e015f2a8943d11 100644 (file)
@@ -1,6 +1,7 @@
 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
  # Local configure fragment for sysdeps/unix/sysv/linux/powerpc/.
 
+if test "$with_clang" = no; then
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC $CFLAGS -mlong-double-128 uses IBM extended format" >&5
 $as_echo_n "checking whether $CC $CFLAGS -mlong-double-128 uses IBM extended format... " >&6; }
@@ -76,4 +77,6 @@ $as_echo "$libc_cv_mabi_ibmlongdouble" >&6; }
   fi
 fi
 
+fi # clang
+
 ldd_rewrite_script=sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed
index b8e5f9ac3263f7d3abb4e6f2f06a284a1f2bb5a4..d3e12079eecc32c40d9a0d9c61207a69c0b6c692 100644 (file)
@@ -2,6 +2,8 @@ sinclude(./aclocal.m4)dnl Autoconf lossage
 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
 # Local configure fragment for sysdeps/unix/sysv/linux/powerpc/.
 
+if test "$with_clang" = no; then
+
 AC_CACHE_CHECK(whether $CC $CFLAGS -mlong-double-128 uses IBM extended format,
               libc_cv_mlong_double_128ibm, [dnl
 save_CFLAGS="$CFLAGS"
@@ -36,4 +38,6 @@ long double foobar (long double x) { return x; }],
   fi
 fi
 
+fi # clang
+
 ldd_rewrite_script=sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed