shithub: riscv

Download patch

ref: 21e5726f43707a5736be0f0e38f41c058620401b
parent: 5b8b5884f4eacd26b1e234c5abedd1615d895003
author: Ori Bernstein <[email protected]>
date: Sun Jan 24 04:58:39 EST 2021

cc: mk clean should delete cc.a$O

It's surprising when 'mk clean' doesn't actually
do a clean build in cc -- fix this.

--- a/sys/src/cmd/cc/mkfile
+++ b/sys/src/cmd/cc/mkfile
@@ -24,6 +24,8 @@
 
 YFILES=cc.y\
 
+CLEANFILES=$LIB
+
 CURCC=6c 8c qc vc
 OTHERCC=1c 2c 5c 7c kc