aboutsummaryrefslogtreecommitdiff
path: root/misc
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 /misc
parent2714c5f3c95f90977167c1d21326d907fb76b419 (diff)
downloadglibc-ca4b396ebebf8869e199268edbb5808bb5488c50.zip
glibc-ca4b396ebebf8869e199268edbb5808bb5488c50.tar.gz
glibc-ca4b396ebebf8869e199268edbb5808bb5488c50.tar.bz2
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.
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile4
1 files changed, 4 insertions, 0 deletions
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