about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--linuxthreads/Makefile2
-rw-r--r--nptl/Makefile3
2 files changed, 5 insertions, 0 deletions
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index 7c993ac0fd..e9cbf5e8b8 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -47,6 +47,8 @@ libpthread-routines := attr cancel condvar join manager mutex ptfork \
 		       ptw-open ptw-open64 ptw-pause ptw-pread ptw-pread64 \
 		       ptw-pwrite ptw-pwrite64 ptw-tcdrain ptw-wait \
 		       ptw-waitpid pt-system
+# Don't generate deps for calls with no sources.  See sysdeps/unix/Makefile.
+omit-deps = $(unix-syscalls:%=ptw-%)
 
 libpthread-shared-only-routines = pt-allocrtsig
 
diff --git a/nptl/Makefile b/nptl/Makefile
index 5c8c4c6a74..33b5e9adea 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -112,6 +112,9 @@ libpthread-shared-only-routines = pt-allocrtsig
 
 libpthread-nonshared = pthread_atfork
 
+# Don't generate deps for calls with no sources.  See sysdeps/unix/Makefile.
+omit-deps = $(unix-syscalls:%=ptw-%)
+
 
 tests = tst-mutex1 tst-mutex2 tst-mutex3 tst-mutex4 tst-mutex5 tst-mutex6 \
 	tst-mutex7 \