mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Sort $(wildcard) output where needed for reproducible build output.
The order of inclusion of .o files makes a difference in linker output; not a functional difference, but still a bitwise difference, which annoys some packagers who would like reproducible builds. Report and patch by Christoph Berg
This commit is contained in:
@ -7,7 +7,7 @@ PROGRAM = pg_xlogdump
|
|||||||
OBJS = pg_xlogdump.o compat.o xlogreader.o rmgrdesc.o \
|
OBJS = pg_xlogdump.o compat.o xlogreader.o rmgrdesc.o \
|
||||||
$(RMGRDESCOBJS) $(WIN32RES)
|
$(RMGRDESCOBJS) $(WIN32RES)
|
||||||
|
|
||||||
RMGRDESCSOURCES = $(notdir $(wildcard $(top_srcdir)/src/backend/access/rmgrdesc/*desc.c))
|
RMGRDESCSOURCES = $(sort $(notdir $(wildcard $(top_srcdir)/src/backend/access/rmgrdesc/*desc.c)))
|
||||||
RMGRDESCOBJS = $(patsubst %.c,%.o,$(RMGRDESCSOURCES))
|
RMGRDESCOBJS = $(patsubst %.c,%.o,$(RMGRDESCSOURCES))
|
||||||
|
|
||||||
EXTRA_CLEAN = $(RMGRDESCSOURCES) xlogreader.c
|
EXTRA_CLEAN = $(RMGRDESCSOURCES) xlogreader.c
|
||||||
|
Reference in New Issue
Block a user