about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-02-02 07:33:55 +0000
committerRoland McGrath <roland@gnu.org>2006-02-02 07:33:55 +0000
commit99c012218f02085b7ccd7422c1bc4997dc054696 (patch)
tree450d68ca9c7d8c5ac40496e5934a1ac3be98242b /sysdeps
parentf8cd852c52b0b4a449b31fe2a96cfa29f3c64335 (diff)
downloadglibc-99c012218f02085b7ccd7422c1bc4997dc054696.tar.gz
glibc-99c012218f02085b7ccd7422c1bc4997dc054696.tar.xz
glibc-99c012218f02085b7ccd7422c1bc4997dc054696.zip
2006-02-01 Roland McGrath <roland@redhat.com>
	* sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding
	-mlong-double-128 when it's already there.
Diffstat (limited to 'sysdeps')
-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