about summary refs log tree commit diff
path: root/nptl/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-05-25 18:32:28 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-05-25 18:32:28 +0200
commit02802fafcf6e11ea3f998f685035ffe568dfddeb (patch)
tree2db187fc4bd2ef24a0c70c573b278a5e7ece62e5 /nptl/Makefile
parentde42613540de8d3d70b5f14a14923cab7bd694d0 (diff)
downloadglibc-02802fafcf6e11ea3f998f685035ffe568dfddeb.tar.gz
glibc-02802fafcf6e11ea3f998f685035ffe568dfddeb.tar.xz
glibc-02802fafcf6e11ea3f998f685035ffe568dfddeb.zip
signal: Deprecate additional legacy signal handling functions
This needs a few test adjustments: In some cases, sigignore was
used for convenience (replaced with xsignal with SIG_IGN).  Tests
for the deprecated functions need to disable
-Wdeprecated-declarations, and for the sigmask deprecation,
-Wno-error.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/Makefile')
-rw-r--r--nptl/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index e5686b20ac..587b241367 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -510,6 +510,13 @@ endif
 # function frequently to get a thread-specific handle.
 CFLAGS-pthread_self.os += -fomit-frame-pointer
 
+# The sigmask macro is deprecated and triggers are compiler warning
+# which cannot be suppressed (as of GCC 9).
+CFLAGS-tst-cancel4.c += -Wno-error
+CFLAGS-tst-cancel5.c += -Wno-error
+CFLAGS-tst-cancelx4.c += -Wno-error
+CFLAGS-tst-cancelx5.c += -Wno-error
+
 # Run the cancellation and cleanup tests also for the modern, exception-based
 # implementation.  For this we have to pass the -fexceptions parameter.
 CFLAGS-tst-cancelx2.c += -fexceptions