Skip to content

Commit 8c558b2

Browse files
committed
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
1 parent add6d82 commit 8c558b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_xlogdump/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PROGRAM = pg_xlogdump
77
OBJS = pg_xlogdump.o compat.o xlogreader.o rmgrdesc.o \
88
$(RMGRDESCOBJS) $(WIN32RES)
99

10-
RMGRDESCSOURCES = $(notdir $(wildcard $(top_srcdir)/src/backend/access/rmgrdesc/*desc.c))
10+
RMGRDESCSOURCES = $(sort $(notdir $(wildcard $(top_srcdir)/src/backend/access/rmgrdesc/*desc.c)))
1111
RMGRDESCOBJS = $(patsubst %.c,%.o,$(RMGRDESCSOURCES))
1212

1313
EXTRA_CLEAN = $(RMGRDESCSOURCES) xlogreader.c

0 commit comments

Comments
 (0)