public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/google/grte/v5-2.27/master] x86: Respect --disable-float128 flag to disable FLOAT128 functionality
@ 2023-11-14 18:50 Pranav Kant
  0 siblings, 0 replies; only message in thread
From: Pranav Kant @ 2023-11-14 18:50 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=60417c3867eb05526efe734196b09a98eeceef15

commit 60417c3867eb05526efe734196b09a98eeceef15
Author: Pranav Kant <prka@google.com>
Date:   Thu Sep 28 00:09:32 2023 +0000

    x86: Respect --disable-float128 flag to disable FLOAT128 functionality

Diff:
---
 sysdeps/x86/bits/floatn.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/x86/bits/floatn.h b/sysdeps/x86/bits/floatn.h
index 7387bbae38..9dd9d8a40d 100644
--- a/sysdeps/x86/bits/floatn.h
+++ b/sysdeps/x86/bits/floatn.h
@@ -33,7 +33,7 @@
 #if (defined __x86_64__							\
      ? __GNUC_PREREQ (4, 3)						\
      : (defined __GNU__ ? __GNUC_PREREQ (4, 5) : __GNUC_PREREQ (4, 4))) \
-    || defined __clang__
+    || (defined __clang__ && defined WANT_FLOAT128 && WANT_FLOAT128 == 1)
 # define __HAVE_FLOAT128 1
 #else
 # define __HAVE_FLOAT128 0

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-14 18:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-14 18:50 [glibc/google/grte/v5-2.27/master] x86: Respect --disable-float128 flag to disable FLOAT128 functionality Pranav Kant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).