summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-opt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/ldbl-opt/Makefile')
-rw-r--r--sysdeps/ieee754/ldbl-opt/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-opt/Makefile b/sysdeps/ieee754/ldbl-opt/Makefile
index bcafb3c84a..7f7bc3ce33 100644
--- a/sysdeps/ieee754/ldbl-opt/Makefile
+++ b/sysdeps/ieee754/ldbl-opt/Makefile
@@ -2,7 +2,9 @@
# -mlong-double-128 option is used (or when it becomes a default
# when -mlong-double-64 is not used).
long-double-fcts = yes
+ifeq (,$(filter -mlong-double-128,$(sysdep-CFLAGS)))
sysdep-CFLAGS += -mlong-double-128
+endif
ifeq ($(subdir),math)
libm-routines += s_nexttowardfd