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/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/nptl/sysdeps/pthread/Makefile b/nptl/sysdeps/pthread/Makefile
index aac94065eb..05854beecd 100644
--- a/nptl/sysdeps/pthread/Makefile
+++ b/nptl/sysdeps/pthread/Makefile
@@ -40,6 +40,11 @@ $(objpfx)tst-timer: $(objpfx)librt.so $(shared-thread-library)
 else
 $(objpfx)tst-timer: $(objpfx)librt.a $(static-thread-library)
 endif
+
+ifeq ($(have-forced-unwind),yes)
+tests += tst-mqueue8x
+CFLAGS-tst-mqueue8x.c += -fexceptions
+endif
 endif
 
 ifeq ($(subdir),posix)