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 (52bd938169).

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.
This commit is contained in:
Adhemerval Zanella 2017-06-02 10:58:53 -03:00
parent 2714c5f3c9
commit ca4b396ebe
2 changed files with 11 additions and 0 deletions

View File

@ -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.

View 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