shithub: scc

Download patch

ref: 4de0a49e625f3972783e04f8c44d71e23b1ef6b4
parent: 215caa3ffa6f8156085b7e1936dfcb447171d9f7
author: Andrew Chambers <[email protected]>
date: Thu Feb 16 17:20:44 EST 2017

Add .a support to driver.

--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -275,6 +275,8 @@
 			return AS;
 		if (!strcmp(dot, ".o"))
 			return LD;
+		if (!strcmp(dot, ".a"))
+			return LD;
 	}
 
 	die("scc: do not recognize filetype of %s", file);