aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-06-02 10:58:53 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-06-02 11:12:29 -0300
commitca4b396ebebf8869e199268edbb5808bb5488c50 (patch)
treee135ae9e62503dcd37e5a8fa76451316962ca080
parent2714c5f3c95f90977167c1d21326d907fb76b419 (diff)
downloadglibc-ca4b396ebebf8869e199268edbb5808bb5488c50.tar
glibc-ca4b396ebebf8869e199268edbb5808bb5488c50.tar.gz
glibc-ca4b396ebebf8869e199268edbb5808bb5488c50.tar.bz2
glibc-ca4b396ebebf8869e199268edbb5808bb5488c50.zip
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.
-rw-r--r--ChangeLog7
-rw-r--r--misc/Makefile4
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6b32e3192c..2b0a09b166 100644
--- 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.
diff --git a/misc/Makefile b/misc/Makefile
index c393fa7cf2..46072e62d9 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