mirror of
https://github.com/aristocratos/btop.git
synced 2024-05-15 01:43:56 +12:00
Sort input file list
so that btop builds in a reproducible way in spite of indeterministic filesystem readdir order See https://reproducible-builds.org/ for why this is good.
This commit is contained in:
parent
18457d1181
commit
f9a7cdbe09
4
Makefile
4
Makefile
|
@ -129,9 +129,9 @@ ifdef DEBUG
|
|||
override OPTFLAGS := -O0 -g
|
||||
endif
|
||||
|
||||
SOURCES := $(shell find $(SRCDIR) -maxdepth 1 -type f -name *.$(SRCEXT))
|
||||
SOURCES := $(sort $(shell find $(SRCDIR) -maxdepth 1 -type f -name *.$(SRCEXT)))
|
||||
|
||||
SOURCES += $(shell find $(SRCDIR)/$(PLATFORM_DIR) -type f -name *.$(SRCEXT))
|
||||
SOURCES += $(sort $(shell find $(SRCDIR)/$(PLATFORM_DIR) -type f -name *.$(SRCEXT)))
|
||||
|
||||
SOURCE_COUNT := $(words $(SOURCES))
|
||||
|
||||
|
|
Loading…
Reference in a new issue