OSDN Git Service

sparc: disable cancellable system, as it fails in strange ways right now
authorAustin Foxley <austinf@cetoncorp.com>
Fri, 19 Feb 2010 20:06:03 +0000 (12:06 -0800)
committerAustin Foxley <austinf@cetoncorp.com>
Fri, 19 Feb 2010 20:06:03 +0000 (12:06 -0800)
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
libc/stdlib/system.c

index 7026a8d..4f54d1d 100644 (file)
 #endif
 
 
-#if !defined __UCLIBC_HAS_THREADS_NATIVE__
+/* TODO: the cancellable version breaks on sparc currently,
+ * need to figure out why still
+ */
+#if !defined __UCLIBC_HAS_THREADS_NATIVE__ || defined __sparc__
 /* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
 #include <sys/syscall.h>
 #ifndef __NR_vfork