From feb477b2bc17f08895535a224569e21a163607c7 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Tue, 20 Dec 2016 12:52:03 +0800 Subject: [PATCH] samples: an attempt to fix the reference error to clock_gettime(), as reported by Travis --- samples/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/Makefile b/samples/Makefile index 0ddc4eb8..14b04b29 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -14,7 +14,7 @@ V ?= 0 CFLAGS += -Wall -Werror -I../include LDFLAGS += -L$(LIBDIR) -lunicorn -lpthread -lm -LDLIBS += -lpthread -lunicorn -lm -lrt +LDLIBS += -lrt -lpthread -lunicorn -lm ifneq ($(CROSS),) CC = $(CROSS)gcc