commit f402a40e5e06276b3cc52d94a7303d3e21aa3ffc
parent fb01281f08252d887b251ae3542f92dbed61093e
Author: Quentin Rameau <quinq@fifth.space>
Date: Thu, 2 Jun 2016 19:50:56 +0200
[driver] add support for D flag
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/driver/posix/scc.c b/driver/posix/scc.c
@@ -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");