[bug #59243] Overcomplicated example of automatic dependency configuration

2020-10-09 Thread Paul D. Smith
Follow-up Comment #2, bug #59243 (project make): Regarding rm: this is needed in case the .d file is not writable for some reason. As mentioned by Martin, the suggested replacement -MM doesn't work for all compilers. I do agree that this code is still too obscure. Really this entire section

[bug #59243] Overcomplicated example of automatic dependency configuration

2020-10-09 Thread Martin Dorey
Follow-up Comment #1, bug #59243 (project make): Given set -o pipefail isn't on by default even where supported, the OP neglects the benefit of set -e in preventing the existing dependency file from being truncated to empty if something goes wrong with the compiler step. Even the original

[bug #59243] Overcomplicated example of automatic dependency configuration

2020-10-09 Thread anonymous
URL: Summary: Overcomplicated example of automatic dependency configuration Project: make Submitted by: None Submitted on: Fri 09 Oct 2020 03:49:50 PM UTC Severity: 3 - Normal