diff options
author | Ron Yorston <rmy@pobox.com> | 2024-05-28 11:54:51 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-05-28 11:54:51 +0100 |
commit | 208d9858409f823d533d1e95396dde00be03d7d3 (patch) | |
tree | 34c0ea21c8d1b23c2bc72909843b12bd1c0cb9ca /TODO | |
parent | 0224cfd5e5c8157e5bc74a81027fa508687abfbf (diff) | |
download | busybox-w32-208d9858409f823d533d1e95396dde00be03d7d3.tar.gz busybox-w32-208d9858409f823d533d1e95396dde00be03d7d3.tar.bz2 busybox-w32-208d9858409f823d533d1e95396dde00be03d7d3.zip |
make: fixes to -t option
The -t option (in general) causes targets to be touched instead of
having build commands run to create them. There were two problems.
The flag variable 'ssilent' in docmds was too small (uint8_t) to
contain the value of 'dotouch' (uint32_t). Truncation of the
value resulted in build commands being echoed when they shouldn't
have been.
The POSIX specification is unclear as to how build commands with
a '+' prefix interact with touch. The rationale indicates that
this feature was imported from GNU make, so the behaviour has been
made to match what it does: if a '+' build command is run the
target is not touched.
The code has been rearranged to move the call to touch() up into
docmds().
Adds 48 bytes.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions