git: 9front

Download patch

ref: 3e24df1e10ddb38767dcf80b6da9bbf2b3c58565
parent: 8100f2519b402582401d128c543e85c6008caff6
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Apr 10 16:20:53 EDT 2016

libmp: fix build for spim, reduce by the mips assembly files

--- a/sys/src/libmp/port/mkfile
+++ b/sys/src/libmp/port/mkfile
@@ -45,7 +45,9 @@
 
 ALLOFILES=${FILES:%=%.$O}
 # cull things in the per-machine directories from this list
-OFILES=	`{rc ./reduce $O $objtype $ALLOFILES}
+OFILES=	`{rfork e; \
+	if(~ $objtype spim) objtype=mips; \
+	rc ./reduce $O $objtype $ALLOFILES}
 
 HFILES=\
 	/$objtype/include/u.h\
--