shithub: riscv

Download patch

ref: 9a7b1b57b66a7803182ad85e31ea2599b3b181ea
parent: 59994e1bebd12bba947be94b4625520759045b8c
author: mischief <mischief@offblast.org>
date: Fri Jun 8 12:48:31 EDT 2018

mklib: add %.acid target

--- a/sys/src/cmd/mklib
+++ b/sys/src/cmd/mklib
@@ -41,5 +41,8 @@
 clean:V:
 	rm -f *.[$OS] y.tab.? y.output y.error $CLEANFILES
 
+%.acid:V:
+	$CC $CFLAGS -a `{basename $stem .$objtype}^.c >$target
+
 update:V:
 	update $UPDATEFLAGS $UPDATE