[hackers] [scc] Add .a support to driver. || Andrew Chambers

From: <git_AT_suckless.org>
Date: Thu, 16 Feb 2017 10:31:38 +0100 (CET)

commit 7821ee7ea87d76e9725b589d2023a148cb03807a
Author: Andrew Chambers <andrewchamberss_AT_gmail.com>
AuthorDate: Thu Feb 16 22:20:44 2017 +1300
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Thu Feb 16 10:31:06 2017 +0100

    Add .a support to driver.

diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index 81c4fb6..adfeb02 100644
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
_AT_@ -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);
Received on Thu Feb 16 2017 - 10:31:38 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 16 2017 - 10:36:25 CET