aboutsummaryrefslogtreecommitdiff
path: root/nptl/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-13 18:12:55 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-26 13:37:18 -0300
commitdd795c6c243987e9974d2b9457f035dcb9b6e51f (patch)
tree7141f924fc73b14de7efe36c9b964a4f8a3a93b8 /nptl/Makefile
parent40873cdd38533a00f3d4f67b85fd5c0a07d7952e (diff)
downloadglibc-dd795c6c243987e9974d2b9457f035dcb9b6e51f.zip
glibc-dd795c6c243987e9974d2b9457f035dcb9b6e51f.tar.gz
glibc-dd795c6c243987e9974d2b9457f035dcb9b6e51f.tar.bz2
nptl: Remove pread from libpthread
The libc version is identical and built with same flags, it is also uses as the default version. Checked on x86_64-linux-gnu.
Diffstat (limited to 'nptl/Makefile')
-rw-r--r--nptl/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index 6ebba19..e2dd6d4 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -81,7 +81,7 @@ static-only-routines = pthread_atfork
# We need to provide certain routines for compatibility with existing
# binaries.
pthread-compat-wrappers = \
- pread pread64 pwrite pwrite64 \
+ pwrite pwrite64 \
msgrcv msgsnd \
sigsuspend \
@@ -280,8 +280,6 @@ CFLAGS-sem_clockwait.c = -fexceptions -fasynchronous-unwind-tables
# These are the function wrappers we have to duplicate here.
CFLAGS-lockf.c += -fexceptions
-CFLAGS-pread.c += -fexceptions -fasynchronous-unwind-tables
-CFLAGS-pread64.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-pwrite.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-pwrite64.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-sigwait.c += -fexceptions -fasynchronous-unwind-tables