Skip to content

Commit

Permalink
make : fix Apple clang determination bug (#4272)
Browse files Browse the repository at this point in the history
Co-authored-by: Will Findley <findley@gmail.com>
  • Loading branch information
WillCorticesAI and WillFindley authored Nov 30, 2023
1 parent 15f5d96 commit d2809a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2809a3

Please sign in to comment.