Make reproducible build. Thanks Reiner Herrmann for providing patch.
Lev Lamberov
7 years ago
0 | Author: Reiner Herrmann <reiner@reiner-h.de> | |
1 | Description: Sort list of source files for deterministic linking order | |
2 | ||
3 | --- a/Makefile | |
4 | +++ b/Makefile | |
5 | @@ -20,7 +20,7 @@ | |
6 | ||
7 | UNAME_S := $(shell uname -s 2>/dev/null || echo not) | |
8 | ||
9 | -SOURCES = $(wildcard src/*.c) | |
10 | +SOURCES = $(sort $(wildcard src/*.c)) | |
11 | OBJECTS = $(SOURCES:.c=.o) | |
12 | TARGET = mdp | |
13 | DESTDIR = |
0 | reproducible-build.patch |