]> git.sur5r.net Git - i3/i3status/commitdiff
Makefile: sort objects for deterministic linking order
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 21 Jan 2017 14:33:39 +0000 (15:33 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 21 Jan 2017 14:34:20 +0000 (15:34 +0100)
Patch by Reiner Herrmann

Makefile

index 2035b0d252cfc99b2757f026d361d9ee5caf9033..97bb646f1a23d48cb44f2d3d4485bfda1c2f65e6 100644 (file)
--- 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)