diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-01-05 15:47:05 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-01-05 15:47:05 -0500 |
commit | 6d899f098c195f624b61929e6d43091f836da215 (patch) | |
tree | 580587c6fe1c77c4249dff2c839dc81260232fe8 | |
parent | 0f527f73bd24710b9eeadc60d930bb8ab9adb213 (diff) |
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
-rw-r--r-- | contrib/pg_xlogdump/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_xlogdump/Makefile b/contrib/pg_xlogdump/Makefile index ada261c4dd0..c226fa26000 100644 --- a/contrib/pg_xlogdump/Makefile +++ b/contrib/pg_xlogdump/Makefile @@ -7,7 +7,7 @@ PROGRAM = pg_xlogdump OBJS = pg_xlogdump.o compat.o xlogreader.o rmgrdesc.o \ $(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)) EXTRA_CLEAN = $(RMGRDESCSOURCES) xlogreader.c |