aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-01-05 15:47:05 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-01-05 15:47:05 -0500
commit8805af0886c671adcaf0200d70549d5d933f5cf2 (patch)
treef88b4a1ad9306749b41daaa2080a653fda08beb5 /src
parent7ef311eb426b2ab01831cc5f1502a5b838c8cdd3 (diff)
downloadpostgresql-8805af0886c671adcaf0200d70549d5d933f5cf2.tar.gz
postgresql-8805af0886c671adcaf0200d70549d5d933f5cf2.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_xlogdump/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_xlogdump/Makefile b/src/bin/pg_xlogdump/Makefile
index 315e869ffe0..11df47d5169 100644
--- a/src/bin/pg_xlogdump/Makefile
+++ b/src/bin/pg_xlogdump/Makefile
@@ -12,7 +12,7 @@ OBJS = pg_xlogdump.o compat.o xlogreader.o rmgrdesc.o \
override CPPFLAGS := -DFRONTEND $(CPPFLAGS)
-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))