summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2017-01-21 15:33:39 +0100
committerMichael Stapelberg <michael@stapelberg.de>2017-01-21 15:34:20 +0100
commit30fd21864b819ba723b5480a572b7d329e1a8b73 (patch)
tree8b8df2197c7f3033c74600347be7d379d1b54361 /Makefile
parent8e293f92b0687f8dbb2c4fef83d9bf1851fa5fd4 (diff)
Makefile: sort objects for deterministic linking order
Patch by Reiner Herrmann
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)