samples: add -lrt for clock_gettime(), as suggested by Stephen
This commit is contained in:
parent
04e2e7e845
commit
7665310daa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user