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