[hackers] [scc] [driver] add support for D flag || Quentin Rameau
commit f402a40e5e06276b3cc52d94a7303d3e21aa3ffc
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Thu Jun 2 19:50:56 2016 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Thu Jun 2 19:50:56 2016 +0200
[driver] add support for D flag
diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index 052df6f..22726bb 100644
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
_AT_@ -288,6 +288,10 @@ main(int argc, char *argv[])
arch = getenv("ARCH");
ARGBEGIN {
+ case 'D':
+ ADDARG(CC1, "-D");
+ ADDARG(CC1, EARGF(usage()));
+ break;
case 'E':
Eflag = 1;
ADDARG(CC1, "-E");
Received on Thu Jun 02 2016 - 19:51:26 CEST
This archive was generated by hypermail 2.3.0
: Thu Jun 02 2016 - 20:00:15 CEST