commit 2dc37e0dadf780af8cdba452e3f7d6a28ab6b476
Author:     Quentin Rameau <[email protected]>
AuthorDate: Tue Jun 7 14:19:56 2016 +0200
Commit:     Quentin Rameau <[email protected]>
CommitDate: Tue Jun 7 14:30:03 2016 +0200

    [driver] add support for .o input files

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

Reply via email to