Skip to content

Commit d2809a3

Browse files
make : fix Apple clang determination bug (#4272)
Co-authored-by: Will Findley <findley@gmail.com>
1 parent 15f5d96 commit d2809a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
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)