diff options
author | Rob Landley <rob@landley.net> | 2011-10-27 07:31:06 -0700 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2011-10-27 07:32:55 -0700 |
commit | 015179a2c816abe1e6a8ef7e5517362f20dd49da (patch) | |
tree | 589359907fb5a1a15f3337c5f6f1bc665e91850c | |
parent | e0b741c2cb0ec3278d699818556ebcf003590818 (diff) |
sparc: fix build for linuxthreads.old
sparc target has assembly implementations of clone.S that doesn't
get used, and thus the build breaks. Also, sparc is missing a header file in
pthreads.old that exists in pthreads.new.
Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-rw-r--r-- | libc/sysdeps/linux/sparc/Makefile.arch | 2 | ||||
-rw-r--r-- | libpthread/linuxthreads.old/sysdeps/sparc/tcb-offsets.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sparc/Makefile.arch b/libc/sysdeps/linux/sparc/Makefile.arch index d0cae9ff8..820b2facf 100644 --- a/libc/sysdeps/linux/sparc/Makefile.arch +++ b/libc/sysdeps/linux/sparc/Makefile.arch @@ -13,7 +13,7 @@ SSRC := \ ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y) CSRC += sigaction.c -SSRC += fork.S vfork.S +SSRC += fork.S vfork.S clone.S endif # check weather __LONG_DOUBLE_128__ is defined (long double support) diff --git a/libpthread/linuxthreads.old/sysdeps/sparc/tcb-offsets.h b/libpthread/linuxthreads.old/sysdeps/sparc/tcb-offsets.h new file mode 100644 index 000000000..6d6f111f4 --- /dev/null +++ b/libpthread/linuxthreads.old/sysdeps/sparc/tcb-offsets.h @@ -0,0 +1 @@ +#include "../../../linuxthreads/sysdeps/pthread/tcb-offsets.h" |