From: Michael Stapelberg Date: Sat, 21 Jan 2017 14:33:39 +0000 (+0100) Subject: Makefile: sort objects for deterministic linking order X-Git-Tag: 2.11~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=30fd21864b819ba723b5480a572b7d329e1a8b73;p=i3%2Fi3status Makefile: sort objects for deterministic linking order Patch by Reiner Herrmann --- diff --git a/Makefile b/Makefile index 2035b0d..97bb646 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ CFLAGS+=$(EXTRA_CFLAGS) # YAJL_MAJOR from that file to decide which code path should be used. CFLAGS += -idirafter yajl-fallback -OBJS:=$(wildcard src/*.c *.c) +OBJS:=$(sort $(wildcard src/*.c *.c)) OBJS:=$(OBJS:.c=.o) ifeq ($(OS),OpenBSD)