2006-02-01 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Thu, 2 Feb 2006 07:33:55 +0000 (07:33 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 2 Feb 2006 07:33:55 +0000 (07:33 +0000)
* sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding
-mlong-double-128 when it's already there.

sysdeps/ieee754/ldbl-opt/Makefile

index bcafb3c..7f7bc3c 100644 (file)
@@ -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