mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Try the previous commit in a different way so that make CC=gcc CXX=g++ COBJC="clang -x -objective-x" COBJCXX="clang++ -x objective-c++"
does not require the non-obvious CLANG=0. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6430 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f77cfe8aad
commit
82eedfb6fe
1 changed files with 6 additions and 3 deletions
|
@ -174,6 +174,12 @@ endif
|
|||
|
||||
CC := $(CROSS)gcc$(CROSS_SUFFIX)
|
||||
CXX := $(CROSS)g++$(CROSS_SUFFIX)
|
||||
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
CC := $(CROSS)clang$(CROSS_SUFFIX)
|
||||
CXX := $(CROSS)clang++$(CROSS_SUFFIX)
|
||||
endif
|
||||
|
||||
COBJC := $(CC) -x objective-c
|
||||
COBJCXX := $(CXX) -x objective-c++
|
||||
L_CC := $(CC)
|
||||
|
@ -206,9 +212,6 @@ ifeq ($(PLATFORM),$(filter $(PLATFORM),DINGOO GCW))
|
|||
endif
|
||||
|
||||
CLANG := 0
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
CLANG := 1
|
||||
endif
|
||||
ifeq ($(findstring clang,$(CC) $(MAKECMDGOALS)),clang)
|
||||
override CLANG := 1
|
||||
CLANGNAME := $(CC)
|
||||
|
|
Loading…
Reference in a new issue