From: Adhemerval Zanella Date: Fri, 2 Jun 2017 13:58:53 +0000 (-0300) Subject: posix: Add missing build flags for p{write,read}v2 X-Git-Tag: glibc-2.26~438 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca4b396ebebf8869e199268edbb5808bb5488c50;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 6b32e3192ce..2b0a09b1663 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2017-06-02 Adhemerval Zanella + + * misc/Makefile (CFLAGS-preadv2.c): New rule. + (CFLAGS-preadv64v2.c): Likewise. + (CFLAGS-pwritev2.c): Likewise. + (CFLAGS-pwritev64v2.c): Likewise. + 2017-06-02 Florian Weimer Test res_init with several configuration files. diff --git a/misc/Makefile b/misc/Makefile index c393fa7cf2e..46072e62d95 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