ref: a77fbb8209aef4b0c457983641155c4239da7ba3
parent: fa49f7e3ff1ee5a9941c11ec6f236b9995053726
author: cinap_lenrek <[email protected]>
date: Sat Apr 14 09:22:36 EDT 2012
pcc: accept .o file extension
--- a/sys/src/cmd/pcc.c
+++ b/sys/src/cmd/pcc.c
@@ -133,6 +133,7 @@
append(&srcs, s);
append(&objs, changeext(s, ot->o));
} else if(strcmp(suf, ot->o) == 0 ||
+ strcmp(suf, "o") == 0 ||
strcmp(suf, "a") == 0 ||
(suf[0] == 'a' && strcmp(suf+1, ot->o) == 0)) {
append(&objs, s);