From 80f0dff8fb6f44c94a59b6606c843e384574e8fb Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Tue, 4 Jan 2022 17:41:57 +0100 Subject: [PATCH] Makefile: updated MACOSX_DEPLOYMENT_TARGET to 10.15 and removed OpenCL framework from LFLAGS_NATIVE on MacOS --- docs/changes.txt | 1 + src/Makefile | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index 94f7ef326..7ec3af2e1 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -39,6 +39,7 @@ - Unit tests: Updated test.sh to set default device-type to CPU with Apple Intel and added -f (--force) option - OpenCL Backend: moved functions to ext_OpenCL.c and includes to ext_OpenCL.h - HIP Backend: moved functions to ext_hip.c/ext_hiprtc.c and includes to ext_hip.h/ext_hiprtc.h +- Makefile: updated MACOSX_DEPLOYMENT_TARGET to 10.15 and removed OpenCL framework from LFLAGS_NATIVE on MacOS * changes v6.2.4 -> v6.2.5 diff --git a/src/Makefile b/src/Makefile index 1443d4d5c..002d9c018 100644 --- a/src/Makefile +++ b/src/Makefile @@ -315,7 +315,7 @@ endif endif # FreeBSD ifeq ($(UNAME),Darwin) -export MACOSX_DEPLOYMENT_TARGET=10.9 +export MACOSX_DEPLOYMENT_TARGET=10.15 CFLAGS_NATIVE := $(CFLAGS) CFLAGS_NATIVE += -DWITH_HWMON @@ -324,7 +324,6 @@ CFLAGS_NATIVE += -DMISSING_CLOCK_GETTIME endif LFLAGS_NATIVE := $(LFLAGS) -LFLAGS_NATIVE += -framework OpenCL LFLAGS_NATIVE += -framework IOKit LFLAGS_NATIVE += -lpthread LFLAGS_NATIVE += -liconv