diff options
author | Ron Yorston <rmy@pobox.com> | 2024-05-31 10:27:18 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-05-31 10:27:18 +0100 |
commit | f9d10b2b6314ea2a80515112498aaa919ad81c97 (patch) | |
tree | 3f199636f02b16f94f12cd9fe65b04fd087123f8 /docs | |
parent | 2a0923c400fe5df140e1c5aad8dc59f4733e8598 (diff) | |
download | busybox-w32-f9d10b2b6314ea2a80515112498aaa919ad81c97.tar.gz busybox-w32-f9d10b2b6314ea2a80515112498aaa919ad81c97.tar.bz2 busybox-w32-f9d10b2b6314ea2a80515112498aaa919ad81c97.zip |
make: fix detection of target rules (take 2)
Commit d6b764116 (make: fix detection of target rules) checked
for target rules before macro assignments. This failed for some
Makefiles generated by autotools because partially defined macros
were expanded while testing for a target rule.
Revert to checking for macro assignments first, but try to detect
if the proposed left hand side of the assignment might form part
of a target rule with an inline command.
Also handle the case where the ';' separator of the inline command
has been obfuscated by putting it in a macro.
Saves 128-160 bytes.
(GitHub pdpmake issues 31, 44)
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions