[COMMITTED,3/3] nptl: Add missing cancellation flags on lockf

Message ID 20201008133015.68359-3-adhemerval.zanella@linaro.org
State Committed
Headers
Series [COMMITTED,1/3] Update alpha libm-test-ulps |

Commit Message

Adhemerval Zanella Oct. 8, 2020, 1:30 p.m. UTC
  It also removes CFLAGS-lockf.c duplicate rule.  It fixes
nptl/tst-cancelx16 on mips64-linux-gnu.
---
 io/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/io/Makefile b/io/Makefile
index cf380f3516..36ac06070a 100644
--- a/io/Makefile
+++ b/io/Makefile
@@ -93,7 +93,8 @@  CFLAGS-fcntl.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-fcntl64.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-poll.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-ppoll.c += -fexceptions -fasynchronous-unwind-tables
-CFLAGS-lockf.c += -fexceptions
+CFLAGS-lockf.c += -fexceptions -fasynchronous-unwind-tables
+CFLAGS-lockf64.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-statfs.c += -fexceptions
 CFLAGS-fstatfs.c += -fexceptions
 CFLAGS-statvfs.c += -fexceptions
@@ -102,7 +103,6 @@  CFLAGS-fts.c += -Wno-uninitialized $(uses-callbacks) -fexceptions
 CFLAGS-fts64.c += -Wno-uninitialized $(uses-callbacks) -fexceptions
 CFLAGS-ftw.c += $(uses-callbacks) -fexceptions
 CFLAGS-ftw64.c += $(uses-callbacks) -fexceptions
-CFLAGS-lockf.c += -fexceptions
 CFLAGS-posix_fallocate.c += -fexceptions
 CFLAGS-posix_fallocate64.c += -fexceptions
 CFLAGS-fallocate.c += -fexceptions