From e93fa54838a071924771fa9db39513bfc949a2c7 Mon Sep 17 00:00:00 2001 From: Ari Lemmetti Date: Thu, 23 Oct 2014 14:37:28 +0300 Subject: [PATCH] Added -lrt to fix undefined references to clock_gettime on some systems --- src/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile b/src/Makefile index e3501ed2..c5f2b8c2 100644 --- a/src/Makefile +++ b/src/Makefile @@ -44,6 +44,7 @@ else ifeq ($(SYSTEM),Darwin) ASMFLAGS += -DPREFIX # Default to Linux/elf specific flags else + LDFLAGS += -lrt ifeq ($(ARCH), x86_64) ASMFLAGS += -f elf64 else