Message ID | 20210820210324.1402616-1-warthog9@eaglescrag.net (mailing list archive) |
---|---|
State | Accepted |
Commit | 298192c434b213c548ac2685716bbfb86546c970 |
Headers | show |
Series | sqlhist - fix build dependency | expand |
diff --git a/src/Makefile b/src/Makefile index 9248efc..f209bbb 100644 --- a/src/Makefile +++ b/src/Makefile @@ -53,6 +53,8 @@ $(DEPS): $(bdir)/.%.d: %.c $(OBJS): $(bdir)/%.o : $(bdir)/.%.d +tracefs-sqlhist.o: sqlhist.tab.h + $(OBJS): | $(bdir) $(DEPS): | $(bdir)
Minor race condition (that's shockingly hard to reproduce, though nearly always reproducible in an rpmbuild) with sqlhist.tab.h being built after it's needed by tracefs-sqlhist.c. This just sets an explicit dependency for tracefs-sqlhist.o on sqlhist.tab.h existing first Signed-off-by: John 'Warthog9' Hawley (VMware) <warthog9@eaglescrag.net> --- src/Makefile | 2 ++ 1 file changed, 2 insertions(+)