Follow-up Comment #7, bug #28456 (project make):
I've encountered this inconsistency when trying to use secondary expansion.
When a default rule is not defined, any rule without a recipe has $<
overridden with $@. I've added a patch that avoids comparing null file
commands and a regression test.
(file #47201, file #47202)
_______________________________________________________
Additional Item Attachment:
File name: 0001-Don-t-override-when-no-default-rule-has-been-defined.patch
Size:0 KB
<https://savannah.gnu.org/file/0001-Don-t-override-when-no-default-rule-has-been-defined.patch?file_id=47201>
File name: 0002-Add-regression-test-for-default-rule-override.patch Size:1 KB
<https://savannah.gnu.org/file/0002-Add-regression-test-for-default-rule-override.patch?file_id=47202>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?28456>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make