Re: [PATCH v5 10/15] bugreport: add config values from safelist
- From
Emily Shaffer <emilyshaffer@google.com>
- Date
- Feb 5, 2020, 01:34 UTC
- Message-ID
- <20200205013405.GK87163@google.com>
- In-Reply-To
- <CAN0heSr3WTtGh=gWTiXYEoSGGHPF_YniA9xH989=OtYfM2-Evw@mail.gmail.com>
On Thu, Jan 30, 2020 at 11:36:43PM +0100, Martin Ågren wrote:
Show 17 quoted lines
> On Fri, 24 Jan 2020 at 04:40, <emilyshaffer@google.com> wrote: > > --- a/Makefile > > +++ b/Makefile > > @@ -2465,7 +2465,7 @@ endif > > git-%$X: %.o GIT-LDFLAGS $(GITLIBS) > > $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS) > > > > -git-bugreport$X: bugreport.o GIT-LDFLAGS $(GITLIBS) > > +git-bugreport$X: bugreport-config-safelist.h bugreport.o GIT-LDFLAGS $(GITLIBS) > > $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \ > > $(LIBS) > > Haven't looked at this patch at all, except I've noticed that something > is up with the dependencies. I think bugreport.o needs to depend on > bugreport-config-safelist.h. As it is, the latter may or may not be > available as bugreport.o is built. (Reproduces fairly well for me with > something like `make clean && make -j16`.)
Hum, I thought that the ordering of the dependency list here was ensured. But I see where help.o relies directly on command-list.h, so I'll add a dependency for bugreport.o (and drop it from the direct dependency for git-bugreport).
- Emily