about summary refs log tree commit diff
path: root/sysdeps/nptl/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-10-07 15:24:04 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-10-07 15:24:04 -0300
commita04689ee7a2600a1466354096123c57ccd1e1dc7 (patch)
tree6ba9c43f6c7658ad52343133ccbcb0393148b051 /sysdeps/nptl/Makefile
parentb31d4355ae817aa3caf9414f842cc07465bca028 (diff)
downloadglibc-a04689ee7a2600a1466354096123c57ccd1e1dc7.tar.gz
glibc-a04689ee7a2600a1466354096123c57ccd1e1dc7.tar.xz
glibc-a04689ee7a2600a1466354096123c57ccd1e1dc7.zip
nptl: Add missing cancellation flags on futex_internal and pselect32
It fixes the tst-cancelx{4,5} and tst-cancel24-{static} regression on
some platforms (arm and sparc32).

Checked on arm-linux-gnueabihf and sparcv9-linux-gnu.
Diffstat (limited to 'sysdeps/nptl/Makefile')
-rw-r--r--sysdeps/nptl/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/nptl/Makefile b/sysdeps/nptl/Makefile
index a65be3b7ea..8dfb6fdf1e 100644
--- a/sysdeps/nptl/Makefile
+++ b/sysdeps/nptl/Makefile
@@ -18,6 +18,7 @@
 
 ifeq ($(subdir),nptl)
 libpthread-sysdep_routines += errno-loc futex-internal
+CFLAGS-futex-internal.c += -fexceptions -fasynchronous-unwind-tables
 endif
 
 ifeq ($(subdir),rt)