samples: add -lrt for clock_gettime(), as suggested by Stephen

This commit is contained in:
Nguyen Anh Quynh 2016-12-19 23:50:21 +08:00
parent 04e2e7e845
commit 7665310daa

View file

@ -13,8 +13,8 @@ AR_EXT = a
V ?= 0
CFLAGS += -Wall -Werror -I../include
LDFLAGS += -L$(LIBDIR) -lunicorn -lpthread -lm
LDLIBS += -lpthread -lunicorn -lm
LDFLAGS += -L$(LIBDIR) -lunicorn -lpthread -lm -lrt
LDLIBS += -lpthread -lunicorn -lm -lrt
ifneq ($(CROSS),)
CC = $(CROSS)gcc