diff options
author | BurnZeZ <devnull@localhost> | 2020-02-23 20:33:27 +0000 |
---|---|---|
committer | BurnZeZ <devnull@localhost> | 2020-02-23 20:33:27 +0000 |
commit | 7bd7776935eea88f322753e963bcc858d1d9ecc7 (patch) | |
tree | f190648e6b86369e1e42d40bfd30635214e8522b | |
parent | ab5c4799d95e0d60ca9ebf16dede88cd245e3aaa (diff) | |
download | plan9front-7bd7776935eea88f322753e963bcc858d1d9ecc7.tar.xz |
ape/cc: stop spamming arguments that are only needed once
-rw-r--r-- | sys/src/ape/cmd/cc.c | 1 |
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]; |