[hackers] [scc] [driver] add support for .o input files || Quentin Rameau

From: <git_AT_suckless.org>
Date: Tue, 7 Jun 2016 14:30:12 +0200 (CEST)

commit 2dc37e0dadf780af8cdba452e3f7d6a28ab6b476
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Tue Jun 7 14:19:56 2016 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
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
_AT_@ -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);
Received on Tue Jun 07 2016 - 14:30:12 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 07 2016 - 14:36:31 CEST