Re: changes in pgport etc doesn't cause client programs to be relinked

2021-10-26 Thread Andres Freund
Hi, On 2021-10-26 11:04:54 -0700, Andres Freund wrote: > pgbench: $(OBJS) | submake-libpq submake-libpgport submake-libpgfeutils > $(CC) $(CFLAGS) $^ $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X) > I unfortunately don't see a localized fix for this. Afaict we'd need to change > all client buil

changes in pgport etc doesn't cause client programs to be relinked

2021-10-26 Thread Andres Freund
Hi, our make dependencies currently are insufficient to trigger client binaries to be relinked when pgport/pgcommon/libpq/... changes. To reproduce, you can use something like: touch ~/src/postgresql/src/port/snprintf.c && make -j48 2>&1|grep 'gcc.*pgbench' which won't show anything, whereas e.g.