shithub: scc

Download patch

ref: 7e371efde773dc3e45f7360c7ec23fd8283ba9d5
parent: 9483a25dc24cfcfede04bc1a7dcb1af421a108fd
author: Quentin Rameau <quinq@fifth.space>
date: Thu Jun 2 15:50:56 EDT 2016

[driver] add support for D flag

--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -288,6 +288,10 @@
 	arch = getenv("ARCH");
 
 	ARGBEGIN {
+	case 'D':
+		ADDARG(CC1, "-D");
+		ADDARG(CC1, EARGF(usage()));
+		break;
 	case 'E':
 		Eflag = 1;
 		ADDARG(CC1, "-E");