[COMMITTED] socket: Add CFLAGS-accept.c and CFLAGS-connect.c

Message ID 20210401175245.2223954-1-adhemerval.zanella@linaro.org
State New
Headers show
Series
  • [COMMITTED] socket: Add CFLAGS-accept.c and CFLAGS-connect.c
Related show

Commit Message

Martin Sebor via Libc-alpha April 1, 2021, 5:52 p.m.
The c59f716993 (accept) and 3ddf9bc185 (connect) added on io/Makefile
instead of socket/Makefile.

Checked on arm-linux-gnueabihf (where without the flags both the
tst-cancelx4 and tst-cancelx5 fails).
---
 io/Makefile     | 2 --
 socket/Makefile | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.27.0

Patch

diff --git a/io/Makefile b/io/Makefile
index c9919d666f..914d7689b2 100644
--- a/io/Makefile
+++ b/io/Makefile
@@ -105,8 +105,6 @@  CFLAGS-fallocate64.c += -fexceptions
 CFLAGS-read.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-write.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-close.c += -fexceptions -fasynchronous-unwind-tables
-CFLAGS-accept.c += -fexceptions -fasynchronous-unwind-tables
-CFLAGS-connect.c += -fexceptions -fasynchronous-unwind-tables
 
 CFLAGS-test-stat.c += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
 CFLAGS-test-lfs.c += -D_LARGEFILE64_SOURCE
diff --git a/socket/Makefile b/socket/Makefile
index 855510ad48..27ffe44c05 100644
--- a/socket/Makefile
+++ b/socket/Makefile
@@ -43,3 +43,5 @@  CFLAGS-sendto.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-recvmsg.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-sendmsg.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-send.c += -fexceptions -fasynchronous-unwind-tables
+CFLAGS-connect.c += -fexceptions -fasynchronous-unwind-tables
+CFLAGS-accept.c += -fexceptions -fasynchronous-unwind-tables