git: 9front

Download patch

ref: 3d15ec6da4bd55dee2dbe2ce096709f889619302
parent: 2bf39a818a3bed3e3403e1d96aadc4cdf1135726
author: BurnZeZ <devnull@localhost>
date: Sun Feb 23 15:33:27 EST 2020

ape/cc: stop spamming arguments that are only needed once

--- a/sys/src/ape/cmd/cc.c
+++ b/sys/src/ape/cmd/cc.c
@@ -155,6 +155,7 @@
 		if(!Aflag) {
 			append(&cc, "-J");		/* old/new decl mixture hack */
 			append(&cc, "-B");		/* turn off non-prototype warnings */
+			Aflag = 1;
 		}
 		if(argc > 0) {
 			s = argv[0];
--