From 3a4c7c4654d2e388a9ccbe0acf7479adb7881889 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sat, 20 Apr 2019 14:32:58 +0200 Subject: Correct platform switch in Makefile --- aberth/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aberth/Makefile b/aberth/Makefile index 82e3260..99f0e16 100644 --- a/aberth/Makefile +++ b/aberth/Makefile @@ -2,7 +2,7 @@ CXX = g++ CXXFLAGS = -Wall -Wextra -std=c++17 -fwrapv $(OPTFLAGS) OPTFLAGS = -O3 -ffast-math -march=native -mtune=native LDFLAGS = -pthread -ifeq ($(uname),Darwin) +ifeq ($(shell uname),Darwin) LDFLAGS += -framework OpenCL else LDFLAGS += -lOpenCL -- cgit v1.2.3-54-g00ecf