aboutsummaryrefslogtreecommitdiff
path: root/posix/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-12-20 09:59:11 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-12-20 09:59:11 -0300
commit57e687c6d459edba77efe360014d4adec97d1a5c (patch)
treea287e0b7ebeaac3f378385e8eb7c05c361a8670a /posix/Makefile
parent525de033a9d19bc79ce353745d14927a793dd4e8 (diff)
downloadglibc-57e687c6d459edba77efe360014d4adec97d1a5c.zip
glibc-57e687c6d459edba77efe360014d4adec97d1a5c.tar.gz
glibc-57e687c6d459edba77efe360014d4adec97d1a5c.tar.bz2
Add exception-based flags for wait4
It fixes the tst-cancelx4 and tst-cancelx5 on sparc{64,v9}. Checked on sparc64-linux-gnu and sparcv9-linux-gnu.
Diffstat (limited to 'posix/Makefile')
-rw-r--r--posix/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/Makefile b/posix/Makefile
index fe031eb..3dfa03f 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -223,6 +223,7 @@ CFLAGS-sleep.c += -fexceptions
CFLAGS-wait.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-waitid.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-waitpid.c += -fexceptions -fasynchronous-unwind-tables
+CFLAGS-wait4.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-getopt.c += -fexceptions
CFLAGS-wordexp.c += -fexceptions
CFLAGS-wordexp.os = -fomit-frame-pointer