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

This commit is contained in:
Pranav Kant 2023-09-28 00:09:32 +00:00
parent 2676793257
commit 60417c3867

View File

@ -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