aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorStan Shebs <stanshebs@google.com>2018-01-23 09:41:49 -0800
committerStan Shebs <stanshebs@google.com>2018-01-23 09:41:49 -0800
commitdfb17f123a38fd08e577bf4904dc4cf7c22a1e93 (patch)
tree8cce65432b303b3a9bbe53c2f2c5df7483c1fca4 /sysdeps/ieee754
parentbecb228b430d1f3816cfa5b7587d2978ce6936ed (diff)
downloadglibc-dfb17f123a38fd08e577bf4904dc4cf7c22a1e93.zip
glibc-dfb17f123a38fd08e577bf4904dc4cf7c22a1e93.tar.gz
glibc-dfb17f123a38fd08e577bf4904dc4cf7c22a1e93.tar.bz2
Add workarounds for incomplete float128 support in clang
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/float128/Makeconfig2
-rw-r--r--sysdeps/ieee754/float128/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/ieee754/float128/Makeconfig b/sysdeps/ieee754/float128/Makeconfig
index a493ff1..99ae5e0 100644
--- a/sysdeps/ieee754/float128/Makeconfig
+++ b/sysdeps/ieee754/float128/Makeconfig
@@ -1,4 +1,4 @@
# Include this earlier so it can be used earlier in Makefiles,
# and sysdep/ makefiles.
-float128-fcts = yes
+float128-fcts = $(enable-float128)
float64x-alias-fcts = yes
diff --git a/sysdeps/ieee754/float128/Makefile b/sysdeps/ieee754/float128/Makefile
index 571a841..70bb3ac 100644
--- a/sysdeps/ieee754/float128/Makefile
+++ b/sysdeps/ieee754/float128/Makefile
@@ -1,3 +1,4 @@
+ifeq ($(enable-float128),yes)
ifeq ($(subdir),stdlib)
routines += float1282mpn strfromf128
routines += strtof128 strtof128_l strtof128_nan mpn2float128
@@ -10,3 +11,4 @@ endif
ifeq ($(subdir),wcsmbs)
routines += wcstof128_l wcstof128 wcstof128_nan
endif
+endif # enable-float128