mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 17:48:16 +00:00
samples: add -lrt for clock_gettime(), as suggested by Stephen
This commit is contained in:
parent
04e2e7e845
commit
7665310daa
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ AR_EXT = a
|
||||||
V ?= 0
|
V ?= 0
|
||||||
|
|
||||||
CFLAGS += -Wall -Werror -I../include
|
CFLAGS += -Wall -Werror -I../include
|
||||||
LDFLAGS += -L$(LIBDIR) -lunicorn -lpthread -lm
|
LDFLAGS += -L$(LIBDIR) -lunicorn -lpthread -lm -lrt
|
||||||
LDLIBS += -lpthread -lunicorn -lm
|
LDLIBS += -lpthread -lunicorn -lm -lrt
|
||||||
|
|
||||||
ifneq ($(CROSS),)
|
ifneq ($(CROSS),)
|
||||||
CC = $(CROSS)gcc
|
CC = $(CROSS)gcc
|
||||||
|
|
Loading…
Reference in a new issue