aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aberth/Makefile2
1 files changed, 1 insertions, 1 deletions
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