scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 7821ee7ea87d76e9725b589d2023a148cb03807a
parent 9f0ccbd2261cc0f22321dd5d2560f2b737f4032c
Author: Andrew Chambers <andrewchamberss@gmail.com>
Date:   Thu, 16 Feb 2017 22:20:44 +1300

Add .a support to driver.

Diffstat:
Mdriver/posix/scc.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

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