about summary refs log tree commit diff
path: root/nptl/sysdeps/pthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/pthread/Makefile')
-rw-r--r--nptl/sysdeps/pthread/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/sysdeps/pthread/Makefile b/nptl/sysdeps/pthread/Makefile
index 1d248bf720..58cfbb38ef 100644
--- a/nptl/sysdeps/pthread/Makefile
+++ b/nptl/sysdeps/pthread/Makefile
@@ -26,8 +26,9 @@ libpthread-sysdep_routines += errno-loc
 endif
 
 ifeq ($(subdir),rt)
-librt-sysdep_routines += timer_routines
+librt-sysdep_routines += timer_routines librt-cancellation
 CPPFLAGS-timer_routines.c = -I../nptl
+CFLAGS-librt-cancellation.c += -fexceptions -fasynchronous-unwind-tables
 
 ifeq (yes,$(build-shared))
 $(objpfx)tst-timer: $(objpfx)librt.so $(shared-thread-library)