shithub: scc

Download patch

ref: d6d544e9f02b6b2e97348fe6007009e16338b37f
parent: 4508f6fa3070a9eff680dd0ccf819eabe31ff50b
author: Quentin Rameau <quinq@fifth.space>
date: Tue Feb 14 11:38:54 EST 2017

[driver] Parse -Wfoo as -w

--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -476,6 +476,8 @@
 	case 's':
 		sflag = 1;
 		break;
+	case 'W':
+		EARGF(usage());
 	case 'w':
 		addarg(CC1, "-w");
 		break;