Skip to content

Commit

Permalink
Add 'command -v clang' fallback for systems without 'clang-3.8' or 'c…
Browse files Browse the repository at this point in the history
…lang-3.6'
  • Loading branch information
vittorioromeo committed Dec 13, 2016
1 parent b9858b8 commit d1b958d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Expand Up @@ -37,7 +37,7 @@ INC_NEWLIB=$(INSTALL)/newlib/include
# Compiler/Linker
###################################################

CC = $(shell command -v clang-3.8 || command -v clang-3.6)
CC = $(shell command -v clang-3.8 || command -v clang-3.6 || command -v clang)
CPP = $(shell command -v clang++-3.8 || command -v clang++-3.6 || command -v clang++)
# Set defaults if not defined
ifndef AR_INC
Expand Down

0 comments on commit d1b958d

Please sign in to comment.