From 01a7476ff8034758d371ad003dca562956aa0a2d Mon Sep 17 00:00:00 2001 From: jsteube Date: Fri, 26 Jan 2018 23:24:01 +0100 Subject: [PATCH] Link hashcat native binary with -lrt to workaround problems with clock_gettime() on libc versions < 2.17 --- src/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile b/src/Makefile index bceb80af4..d7ab7198e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -210,6 +210,7 @@ CFLAGS_NATIVE += -DWITH_HWMON LFLAGS_NATIVE := $(LFLAGS) LFLAGS_NATIVE += -lpthread LFLAGS_NATIVE += -ldl +LFLAGS_NATIVE += -lrt endif # Linux ifeq ($(UNAME),FreeBSD)