[hackers] [scc] [driver] add g flag || Quentin Rameau
commit b31962ec412e259df04adf6296f288f2c763f677
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sat Jun 25 01:42:43 2016 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
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
_AT_@ -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
_AT_@ -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;
Received on Mon Jul 18 2016 - 18:06:42 CEST
This archive was generated by hypermail 2.3.0
: Mon Jul 18 2016 - 18:12:28 CEST