IcBench: Makefile

This commit is contained in:
x
2019-10-22 12:08:08 +02:00
parent abe9a3c82e
commit 85704bf4da

View File

@ -28,7 +28,7 @@ CFLAGS+=-D__int64_t=int64_t
else else
UNAME := $(shell uname -s) UNAME := $(shell uname -s)
ifeq ($(UNAME),$(filter $(UNAME),Linux Darwin FreeBSD GNU/kFreeBSD)) ifeq ($(UNAME),$(filter $(UNAME),Linux Darwin FreeBSD GNU/kFreeBSD))
LDFLAGS+=-lpthread LDFLAGS+=-lpthread -lm
ifneq ($(UNAME),$(filter $(UNAME),Darwin)) ifneq ($(UNAME),$(filter $(UNAME),Darwin))
LDFLAGS+=-lrt LDFLAGS+=-lrt
endif endif