From 9381d622e2411a35a5fd73a5a573eb269e2dd9c9 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 1 Jul 2010 10:28:46 +0200 Subject: nptl: fix buildsys Now automatically picks the correct (arch and subarch specific) impls in favour of generic impls. make O=/tmp/objs PREFIX=/my/sysroot -j works now as expected (both out-of-tree as well as parallel-safe). Signed-off-by: Bernhard Reutner-Fischer --- libpthread/nptl/sysdeps/unix/sysv/linux/waitpid.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/waitpid.S') diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/waitpid.S b/libpthread/nptl/sysdeps/unix/sysv/linux/waitpid.S index f55d34629..52abb27f0 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/waitpid.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/waitpid.S @@ -1,5 +1,9 @@ #include +#ifndef __NR_waitpid +#error Makefile error: No NR_waitpid on this arch +#endif + /* extern pid_t __waitpid_nocancel (pid_t, int *, int) attribute_hidden; */ -- cgit v1.2.3