Invoke clang as the default compiler on macOS. DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@6429 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-08-12 02:25:44 +00:00
parent af679d2ca8
commit f77cfe8aad

View file

@ -206,6 +206,9 @@ ifeq ($(PLATFORM),$(filter $(PLATFORM),DINGOO GCW))
endif endif
CLANG := 0 CLANG := 0
ifeq ($(PLATFORM),DARWIN)
CLANG := 1
endif
ifeq ($(findstring clang,$(CC) $(MAKECMDGOALS)),clang) ifeq ($(findstring clang,$(CC) $(MAKECMDGOALS)),clang)
override CLANG := 1 override CLANG := 1
CLANGNAME := $(CC) CLANGNAME := $(CC)