about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-opt/Makefile
diff options
context:
space:
mode:
authorTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>2018-06-18 21:11:26 -0300
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2020-02-20 17:11:06 -0600
commit77ad97356caacfa5a54236791c4f1f68b689e915 (patch)
treec3edb07460e4c7a79c0bc4ad76121c7d98cb2516 /sysdeps/ieee754/ldbl-opt/Makefile
parentb790c8c2ed5d5a51026203ccb3c46a3e95526d6b (diff)
downloadglibc-77ad97356caacfa5a54236791c4f1f68b689e915.tar.gz
glibc-77ad97356caacfa5a54236791c4f1f68b689e915.tar.xz
glibc-77ad97356caacfa5a54236791c4f1f68b689e915.zip
Undefine redirections after long double definition on __LDBL_COMPAT [BZ #23294]
After defining the long double redirections to double, __MATHDECL_1 has
to be redefined to its previous state in order to avoid redirecting all
subsequent types.
Diffstat (limited to 'sysdeps/ieee754/ldbl-opt/Makefile')
-rw-r--r--sysdeps/ieee754/ldbl-opt/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-opt/Makefile b/sysdeps/ieee754/ldbl-opt/Makefile
index 791a5eabd2..4e41a27e80 100644
--- a/sysdeps/ieee754/ldbl-opt/Makefile
+++ b/sysdeps/ieee754/ldbl-opt/Makefile
@@ -172,9 +172,11 @@ CFLAGS-nldbl-y0.c = -fno-builtin-y0l
 CFLAGS-nldbl-y1.c = -fno-builtin-y1l
 CFLAGS-nldbl-yn.c = -fno-builtin-ynl
 
-tests += test-narrow-macros-ldbl-64 test-nldbl-redirect
+tests += test-narrow-macros-ldbl-64 test-nldbl-redirect \
+	 test-redirection-ldbl-64
 CFLAGS-test-narrow-macros-ldbl-64.c += -mlong-double-64
 CFLAGS-test-nldbl-redirect.c += -mlong-double-64
+CFLAGS-test-redirection-ldbl-64.c += -mlong-double-64
 
 $(objpfx)test-nldbl-redirect: $(objpfx)libnldbl_nonshared.a