about summary refs log tree commit diff
path: root/sysdeps/nacl
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-09-14 16:02:06 +0200
committerFlorian Weimer <fweimer@redhat.com>2016-09-14 16:02:06 +0200
commita0a9b6e376b75c07b4f65f270f008ce035bbf536 (patch)
tree631d70c64f836515b95b6c204fa73bb396efa284 /sysdeps/nacl
parent02bbfb414f367c73196e6f23fa7435a08c92449f (diff)
downloadglibc-a0a9b6e376b75c07b4f65f270f008ce035bbf536.tar.gz
glibc-a0a9b6e376b75c07b4f65f270f008ce035bbf536.tar.xz
glibc-a0a9b6e376b75c07b4f65f270f008ce035bbf536.zip
Remove the ptw-% patterns
Nothing depends on the PTW macro anymore, so the mechanism to define
PTW for recompliations of libc routines is no longer needed.  The
source files are still recompiled for the nptl directory, just without
the “ptw-” prefix.

(Reducing the number of pattern rules in sysd-rules is critical for
improving make performance.)
Diffstat (limited to 'sysdeps/nacl')
-rw-r--r--sysdeps/nacl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/nacl/Makefile b/sysdeps/nacl/Makefile
index 71a4f8fa4b..a25bd6957f 100644
--- a/sysdeps/nacl/Makefile
+++ b/sysdeps/nacl/Makefile
@@ -123,7 +123,8 @@ endif
 
 ifeq ($(subdir),nptl)
 # We do not need any wrappers in libpthread.
-libpthread-routines := $(filter-out ptw-%,$(libpthread-routines))
+libpthread-routines := \
+  $(filter-out $(pthread-compat-wrappers),$(libpthread-routines))
 endif
 
 ifeq ($(subdir),misc)