summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/ape/cmd/cc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/ape/cmd/cc.c b/sys/src/ape/cmd/cc.c
index 24a075571..2ef85aaf1 100644
--- a/sys/src/ape/cmd/cc.c
+++ b/sys/src/ape/cmd/cc.c
@@ -155,6 +155,7 @@ main(int argc, char *argv[])
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];