Makefile: Allow setting CC.
This commit is contained in:
parent
10be34b5b2
commit
5ce8cf5016
2
Makefile
2
Makefile
@ -44,9 +44,11 @@ endif
|
|||||||
# Set tools
|
# Set tools
|
||||||
|
|
||||||
# Use clang if it's available.
|
# Use clang if it's available.
|
||||||
|
ifeq ($(origin CC),default)
|
||||||
ifneq (, $(shell which clang))
|
ifneq (, $(shell which clang))
|
||||||
CC := clang
|
CC := clang
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(PLATFORM),windows32)
|
ifeq ($(PLATFORM),windows32)
|
||||||
# To force use of the Unix version instead of the Windows version
|
# To force use of the Unix version instead of the Windows version
|
||||||
|
Loading…
Reference in New Issue
Block a user