Re: order-only prerequisites themselves get rebuilt when not needed
Dmitry Goncharov <[email protected]>
| Newsgroups | gmane.comp.gnu.make.bugs |
|---|---|
| Message-ID | <CAG+Z0Cs=q4afF-n0RvyfgBjV6m8hYWW8fDy4jQTUGt-B3VbbKg@mail.gmail.com> |
On Mon, Mar 10, 2025 at 8:12 AM Paul Smith <[email protected]> wrote: > > On Sat, 2025-03-08 at 11:34 -0900, Britton Kerin wrote: > > What confuses me is that since the explicitly requested foo exists > > and isn't out of date with respect to any non-order-only prereqs (in > > the example it doesn't have any) and therefore isn't getting rebuilt, > > I wouldn't expect there to be any need to rebuild it's order-only > > prereqs either. > > That's certainly a reasonable way for it to work, but that's not how it > works. Can we change how it works? i attached a patch here https://savannah.gnu.org/bugs/index.php?66915. regards, Dmitry