From e6ae5756fa8b76e2b055f1ec5adcbf3f61e4edb8 Mon Sep 17 00:00:00 2001 From: x Date: Tue, 22 Oct 2019 11:29:36 +0200 Subject: [PATCH] IcBench: Makefile --- makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index ba5bfdf..f17b529 100644 --- a/makefile +++ b/makefile @@ -27,7 +27,10 @@ CXX=g++ else UNAME := $(shell uname -s) ifeq ($(UNAME),$(filter $(UNAME),Darwin FreeBSD GNU/kFreeBSD Linux NetBSD SunOS)) -LDFLAGS+=-lpthread -lrt +LDFLAGS+=-lpthread +ifneq ($(UNAME),$(filter $(UNAME),Darwin)) +LDFLAGS+=-lrt +endif UNAMEM := $(shell uname -m) #ifeq ($(UNAMEM),aarch64) #NSIMD=1