aboutsummaryrefslogtreecommitdiff
path: root/src/libthread
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread')
-rw-r--r--src/libthread/mkfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libthread/mkfile b/src/libthread/mkfile
index 3750c796..5a6913ea 100644
--- a/src/libthread/mkfile
+++ b/src/libthread/mkfile
@@ -28,6 +28,13 @@ tspawnloop: tspawnloop.$O
%.$O: %.c
$CC $CFLAGS -I. $stem.c
+# cannot use generic .S rule because it conflicts
+# with generic .s rule in mkcommon on case-insensitive
+# systems like Mac OS X.
+
+OpenBSD-power-asm.$O: OpenBSD-power-asm.S
+ $CC $CFLAGS $stem.S
+
test:V: tprimes tspawn
primes 1 10007 >p1.txt