Index: libkcapi-0.13.0/lib/Makefile =================================================================== --- libkcapi-0.13.0.orig/lib/Makefile +++ libkcapi-0.13.0/lib/Makefile @@ -100,7 +100,7 @@ LIBNAME := lib$(NAME).so.$(LIBVERSION) # Define files to be compiled # ############################################################################### -C_SRCS := $(wildcard *.c) +C_SRCS := $(sort $(wildcard *.c)) C_OBJS := ${C_SRCS:.c=.o} OBJS := $(C_OBJS) Index: libkcapi-0.13.0/apps/Makefile =================================================================== --- libkcapi-0.13.0.orig/apps/Makefile +++ libkcapi-0.13.0/apps/Makefile @@ -9,7 +9,7 @@ CFLAGS +=-D_FORTIFY_SOURCE=2 -fwrapv --p LDFLAGS +=-Wl,-z,relro,-z,now NAME := kcapi-hasher -C_SRCS := $(wildcard *.c) $(wildcard ../lib/*.c) +C_SRCS := $(sort $(wildcard *.c) $(wildcard ../lib/*.c)) C_OBJS := ${C_SRCS:.c=.o} C_ASM := ${C_SRCS:.c=.s} OBJS := $(C_OBJS)