]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
posix: Add missing build flags for p{write,read}v2
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 2 Jun 2017 13:58:53 +0000 (10:58 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 2 Jun 2017 14:12:29 +0000 (11:12 -0300)
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.

ChangeLog
misc/Makefile

index 6b32e3192ceb813a3d7532cac279c1f20d0250fd..2b0a09b166364d083526df50ebf228a0b8f62d20 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * misc/Makefile (CFLAGS-preadv2.c): New rule.
+       (CFLAGS-preadv64v2.c): Likewise.
+       (CFLAGS-pwritev2.c): Likewise.
+       (CFLAGS-pwritev64v2.c): Likewise.
+
 2017-06-02  Florian Weimer  <fweimer@redhat.com>
 
        Test res_init with several configuration files.
index c393fa7cf2ed03c231ef187b282b807ce4404a35..46072e62d957b9ece24f67f00fc13bd295f44013 100644 (file)
@@ -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