commit b31962ec412e259df04adf6296f288f2c763f677
Author:     Quentin Rameau <[email protected]>
AuthorDate: Sat Jun 25 01:42:43 2016 +0200
Commit:     Quentin Rameau <[email protected]>
CommitDate: Sat Jun 25 01:42:43 2016 +0200

    [driver] add g flag

diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index 4fbff5f..8d7eedb 100644
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -355,13 +355,13 @@ usage(void)
 {
        die("usage: scc [-D def[=val]]... [-U def]... [-I dir]... "
            "[-L dir]... [-l dir]...\n"
-           "           [-ksw] [-m arch] [-E|-S] [-o outfile] file...\n"
+           "           [-gksw] [-m arch] [-E|-S] [-o outfile] file...\n"
            "       scc [-D def[=val]]... [-U def]... [-I dir]... "
            "[-L dir]... [-l dir]...\n"
-           "           [-ksw] [-m arch] [-E|-S] -c file...\n"
+           "           [-gksw] [-m arch] [-E|-S] -c file...\n"
            "       scc [-D def[=val]]... [-U def]... [-I dir]... "
            "[-L dir]... [-l dir]...\n"
-           "           [-ksw] [-m arch] -c -o outfile file");
+           "           [-gksw] [-m arch] -c -o outfile file");
 }
 
 int
@@ -398,6 +398,10 @@ main(int argc, char *argv[])
        case 'c':
                cflag = 1;
                break;
+       case 'g':
+               addarg(AS, "-g");
+               addarg(LD, "-g");
+               break;
        case 'k':
                kflag = 1;
                break;

Reply via email to