From 57e687c6d459edba77efe360014d4adec97d1a5c Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 20 Dec 2019 09:59:11 -0300 Subject: [PATCH] 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. --- posix/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/posix/Makefile b/posix/Makefile index fe031eb450..3dfa03f013 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 -- 2.43.5