commit b31962ec412e259df04adf6296f288f2c763f677
parent e03cc084e704679233c93bb61dd240043811d13f
Author: Quentin Rameau <quinq@fifth.space>
Date: Sat, 25 Jun 2016 01:42:43 +0200
[driver] add g flag
Diffstat:
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git 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;