shithub: riscv

Download patch

ref: 8561a843070582d48ef7f99e1138941c3509975f
parent: 94fb8869dfba9e09afa9f64a37302dc444393766
author: cinap_lenrek <[email protected]>
date: Wed Jun 19 11:15:35 EDT 2019

pcc: back out -+ flag removal to allow gracefull upgrade path with new pcc but old cpp

--- a/sys/src/cmd/pcc.c
+++ b/sys/src/cmd/pcc.c
@@ -65,7 +65,7 @@
 	while(argc > 0) {
 		ARGBEGIN {
 		case '+':
-			/* No-op for compatibility */
+			append(&cpp, smprint("-%c", ARGC()));
 			break;
 		case 'c':
 			cflag = 1;