mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Makefile: Use "clang++" for building C++ with clang.
git-svn-id: https://svn.eduke32.com/eduke32@6088 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
029facac6f
commit
ed75d4086c
1 changed files with 4 additions and 3 deletions
|
@ -78,12 +78,13 @@ ifeq ($(findstring clang,$(CLANG_POTENTIAL_VERSION)),clang)
|
|||
endif
|
||||
|
||||
ifneq (0,$(CLANG))
|
||||
CLANGXXNAME:=$(subst clang,clang++,$(CLANGNAME))
|
||||
override CC=$(CLANGNAME) -x c
|
||||
override CXX=$(CLANGNAME) -x c++
|
||||
override CXX=$(CLANGXXNAME) -x c++
|
||||
override COBJC=$(CLANGNAME) -x objective-c
|
||||
override COBJCXX=$(CLANGNAME) -x objective-c++
|
||||
override COBJCXX=$(CLANGXXNAME) -x objective-c++
|
||||
override L_CC=$(CLANGNAME)
|
||||
override L_CXX=$(CLANGNAME)
|
||||
override L_CXX=$(CLANGXXNAME)
|
||||
endif
|
||||
|
||||
# GCC version, for conditional selection of flags.
|
||||
|
|
Loading…
Reference in a new issue