summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-11-03 20:56:01 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-11-03 20:56:45 +0100
commita08af2602ce7046b08f7d578576f89b23786bcd2 (patch)
treedb9c57a3651052c817c4e1f1ae06fe52939336d6
parentb5854e014cde3503ae1aae237156557384113ed7 (diff)
Use a stable detection ordering
* Makefile (SRC_ORIG): Sort source files, so that the detection ordering does not depend on the disk file ordering.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1ed284764..3095ea3c9 100644
--- a/Makefile
+++ b/Makefile
@@ -132,7 +132,7 @@ BLACKLIST = \
# This one is included by others, don't build it by itself!
NO_BUILD = dde/lib8390.c
-SRC_ORIG := $(filter-out $(BLACKLIST),$(shell find $(SRC) -name \*.c))
+SRC_ORIG := $(filter-out $(BLACKLIST),$(shell find $(SRC) -name \*.c | LC_ALL=C sort))
SRC_TARGET := $(patsubst $(SRC)/%,dde/%,$(SRC_ORIG))
SRC_C += $(filter-out $(NO_BUILD),$(SRC_TARGET))