Skip to content

Commit

Permalink
Makefile: Allow setting CC.
Browse files Browse the repository at this point in the history
  • Loading branch information
orbea committed May 9, 2019
1 parent 10be34b commit 5ce8cf5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ endif
# Set tools

# Use clang if it's available.
ifeq ($(origin CC),default)
ifneq (, $(shell which clang))
CC := clang
endif
endif

ifeq ($(PLATFORM),windows32)
# To force use of the Unix version instead of the Windows version
Expand Down

0 comments on commit 5ce8cf5

Please sign in to comment.