mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-02-07 06:47:52 +00:00
Formerly main.c.~69~
This commit is contained in:
parent
37d9554e31
commit
2861ad6208
1 changed files with 6 additions and 2 deletions
8
main.c
8
main.c
|
@ -1505,8 +1505,12 @@ define_makeflags (all, makefile)
|
|||
flags = flags->next;
|
||||
} while (flags != 0);
|
||||
|
||||
/* Kill the final space and dash. */
|
||||
p[-2] = '\0';
|
||||
if (p[-1] == '-')
|
||||
/* Kill the final space and dash. */
|
||||
p -= 2;
|
||||
|
||||
/* Terminate the string. */
|
||||
*p = '\0';
|
||||
}
|
||||
|
||||
/* On Sun, the value of MFLAGS starts with a `-' but the
|
||||
|
|
Loading…
Reference in a new issue