From: WillCorticesAI Date: Thu, 30 Nov 2023 22:23:44 +0000 (-0500) Subject: make : fix Apple clang determination bug (#4272) X-Git-Tag: upstream/0.0.4488~2897 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=d2809a3ba2780e00fce5a6149a7eda09f1c0e906;p=pkg%2Fggml%2Fsources%2Fllama.cpp make : fix Apple clang determination bug (#4272) Co-authored-by: Will Findley --- diff --git a/Makefile b/Makefile index 22132ae2..25b113e0 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ ifeq '' '$(findstring clang,$(shell $(CC) --version))' CC_VER := $(shell $(CC) -dumpfullversion -dumpversion | awk -F. '{ printf("%02d%02d%02d", $$1, $$2, $$3) }') else CC_IS_CLANG=1 - ifeq '' '$(findstring Apple LLVM,$(shell $(CC) --version))' + ifeq '' '$(findstring Apple,$(shell $(CC) --version))' CC_IS_LLVM_CLANG=1 else CC_IS_APPLE_CLANG=1