Always link input files in the same order
to produce bit-identical 'kak' binaries See https://reproducible-builds.org/ for why this is good. This change is needed because filesystem ordering is random and ordering matters for the g++ linker
This commit is contained in:
parent
78991c4820
commit
4788112f2d
|
@ -13,7 +13,7 @@ else
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
sources := $(wildcard *.cc)
|
sources := $(sort $(wildcard *.cc))
|
||||||
objects := $(addprefix ., $(sources:.cc=$(suffix).o))
|
objects := $(addprefix ., $(sources:.cc=$(suffix).o))
|
||||||
deps := $(addprefix ., $(sources:.cc=$(suffix).d))
|
deps := $(addprefix ., $(sources:.cc=$(suffix).d))
|
||||||
docs := $(wildcard ../doc/manpages/*.asciidoc)
|
docs := $(wildcard ../doc/manpages/*.asciidoc)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user