From edda0488a6879c1598bee908418cba14d66f9712 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 3 Oct 2014 06:27:04 +0200 Subject: m68k: fix linuxthreads compile for coldfire The tas instruction is not available for most coldfire CPU's. Use bset instead in this case as already used in linuxthreads.old. --- libpthread/linuxthreads/sysdeps/pthread/herrno-loc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpthread/linuxthreads/sysdeps/pthread') diff --git a/libpthread/linuxthreads/sysdeps/pthread/herrno-loc.c b/libpthread/linuxthreads/sysdeps/pthread/herrno-loc.c index 706faeff3..634c75245 100644 --- a/libpthread/linuxthreads/sysdeps/pthread/herrno-loc.c +++ b/libpthread/linuxthreads/sysdeps/pthread/herrno-loc.c @@ -16,7 +16,9 @@ . */ #include +#ifdef __UCLIBC_HAS_TLS__ #include +#endif #include #include -- cgit v1.2.3