about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-10-08 10:27:40 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-10-08 10:29:15 -0300
commitaddff78f1f6729408a88d7452b16b8f5ee7e6878 (patch)
treef12b380de9ee8e416c303c1eb91912ef78279243
parentebcff89a98f7536d16822f3ac18a1473b654cca5 (diff)
downloadglibc-addff78f1f6729408a88d7452b16b8f5ee7e6878.tar.gz
glibc-addff78f1f6729408a88d7452b16b8f5ee7e6878.tar.xz
glibc-addff78f1f6729408a88d7452b16b8f5ee7e6878.zip
nptl: Add missing cancellation flags on lockf
It also removes CFLAGS-lockf.c duplicate rule.  It fixes
nptl/tst-cancelx16 on mips64-linux-gnu.
-rw-r--r--io/Makefile4
1 files changed, 2 insertions, 2 deletions
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