diff --git a/sys/src/cmd/cc/lex.c b/sys/src/cmd/cc/lex.c index 2652cb8f8..68a566ba0 100644 --- a/sys/src/cmd/cc/lex.c +++ b/sys/src/cmd/cc/lex.c @@ -242,14 +242,12 @@ compile(char *file, char **defs, int ndef) close(fd[1]); av[0] = CPP; i = 1; + sprint(opt, "-+"); + av[i++] = strdup(opt); if(debug['.']){ sprint(opt, "-."); av[i++] = strdup(opt); } - if(debug['+']) { - sprint(opt, "-+"); - av[i++] = strdup(opt); - } for(c = 0; c < ndef; c++) { sprint(opt, "-D%s", defs[c]); av[i++] = strdup(opt);