]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add exception-based flags for wait4
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 20 Dec 2019 12:59:11 +0000 (09:59 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 20 Dec 2019 12:59:11 +0000 (09:59 -0300)
It fixes the tst-cancelx4 and tst-cancelx5 on sparc{64,v9}.

Checked on sparc64-linux-gnu and sparcv9-linux-gnu.

posix/Makefile

index fe031eb45015991e70ffbdaa713c42338b398a81..3dfa03f013efd31b5a1ad99d5c279731f4080e29 100644 (file)
@@ -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