From ca4b396ebebf8869e199268edbb5808bb5488c50 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 2 Jun 2017 10:58:53 -0300 Subject: posix: Add missing build flags for p{write,read}v2 This patch adds the missing compiler flags for correct pthread cancellation on some architectures for the p{read,write}v2 implementation (52bd9381692fd23). Checked on x86_64-linux-gnu and powerpc64le-linux-gnu. * misc/Makefile (CFLAGS-preadv2.c): New rule. (CFLAGS-preadv64v2.c): Likewise. (CFLAGS-pwritev2.c): Likewise. (CFLAGS-pwritev64v2.c): Likewise. --- misc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'misc') diff --git a/misc/Makefile b/misc/Makefile index c393fa7..46072e6 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -100,6 +100,10 @@ CFLAGS-preadv.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-preadv64.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-pwritev.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-pwritev64.c = -fexceptions -fasynchronous-unwind-tables +CFLAGS-preadv2.c = -fexceptions -fasynchronous-unwind-tables +CFLAGS-preadv64v2.c = -fexceptions -fasynchronous-unwind-tables +CFLAGS-pwritev2.c = -fexceptions -fasynchronous-unwind-tables +CFLAGS-pwritev64v2.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-usleep.c = -fexceptions CFLAGS-syslog.c = -fexceptions CFLAGS-error.c = -fexceptions -- cgit v1.1