summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-02-19 12:06:03 -0800
committerAustin Foxley <austinf@cetoncorp.com>2010-02-19 12:06:03 -0800
commit1db4f8f8389f6a935ecd83aff7fcce5d1cf2c0f3 (patch)
treea038e5819e841a96347719db6f7f4b5d8b4e46de /libc/stdlib
parentaf92ed684321eb698b27a7abc9c4cbd0bf2676e2 (diff)
sparc: disable cancellable system, as it fails in strange ways right now
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/system.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c
index 7026a8d20..4f54d1df9 100644
--- a/libc/stdlib/system.c
+++ b/libc/stdlib/system.c
@@ -18,7 +18,10 @@
#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