NPTL: fix CFLAGS for cancellation points
commit39e50d004f9b2cfd0988f670a877d83ee17d2418
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 15 Sep 2015 03:18:38 +0000 (15 06:18 +0300)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Tue, 15 Sep 2015 20:52:01 +0000 (15 22:52 +0200)
treeb7d4367a0f4a744ee7a034026b38b258e9007d06
parent5a167e319ca2bee566d330d1c901d76dc53deea7
NPTL: fix CFLAGS for cancellation points

Stack unwinding that happens during NPTL thread cancellation needs
cancellable syscall wrapper functions to be compiled with -fexceptions
-fasynchronous-unwind-tables to be able to unwind to cleanup handlers
registered before syscall invocation.

Add these flags for all cancellable syscall wrappers.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
libpthread/nptl/Makefile.in