Skip to content

Commit 2382b64

Browse files
WillCorticesAIWillFindley
authored andcommitted
make : fix Apple clang determination bug (ggml-org#4272)
Co-authored-by: Will Findley <[email protected]>
1 parent 7287b62 commit 2382b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ifeq '' '$(findstring clang,$(shell $(CC) --version))'
3030
CC_VER := $(shell $(CC) -dumpfullversion -dumpversion | awk -F. '{ printf("%02d%02d%02d", $$1, $$2, $$3) }')
3131
else
3232
CC_IS_CLANG=1
33-
ifeq '' '$(findstring Apple LLVM,$(shell $(CC) --version))'
33+
ifeq '' '$(findstring Apple,$(shell $(CC) --version))'
3434
CC_IS_LLVM_CLANG=1
3535
else
3636
CC_IS_APPLE_CLANG=1

0 commit comments

Comments
 (0)