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