diff options
author | Ron Yorston <rmy@pobox.com> | 2024-06-04 13:55:25 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-06-04 13:55:25 +0100 |
commit | 48f5ecaf27d900ffea77dbda762202d73223ec32 (patch) | |
tree | 9d34878731b1ef7cd60ef09ad16f22976e7125a2 /TODO | |
parent | ac688749879e4867bee0be6a07eec21a65cec585 (diff) | |
download | busybox-w32-48f5ecaf27d900ffea77dbda762202d73223ec32.tar.gz busybox-w32-48f5ecaf27d900ffea77dbda762202d73223ec32.tar.bz2 busybox-w32-48f5ecaf27d900ffea77dbda762202d73223ec32.zip |
make: explicitly verify order of arguments
POSIX requires macro assignments to precede targets on the command
line. This requirement has been relaxed as a non-POSIX extension.
Verify the constraint has been applied in POSIX mode. This ensures
that the command:
make --posix target A=1
fails before it tries to update the target.
It also catches the case where POSIX mode had not been set with the
--posix option or PDPMAKE_POSIXLY_CORRECT environment but was then
set by the .POSIX special target in the makefile. In this case the
command line was scanned for macro assignments without enforcing
POSIX mode while targets were processed with POSIX mode enabled.
Adds 96 bytes.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions