mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
make stuff work when LLVMCC_OPTION is something like installed-clang, not just clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129229 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
15f8951799
commit
70d77007ef
@ -444,11 +444,11 @@ endif
|
|||||||
# LLVM Capable Compiler
|
# LLVM Capable Compiler
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
|
||||||
ifeq ($(LLVMCC_OPTION),llvm-gcc)
|
ifneq ($(findstring llvm-gcc,$(LLVMCC_OPTION)),)
|
||||||
LLVMCC := $(LLVMGCC)
|
LLVMCC := $(LLVMGCC)
|
||||||
LLVMCXX := $(LLVMGXX)
|
LLVMCXX := $(LLVMGXX)
|
||||||
else
|
else
|
||||||
ifeq ($(LLVMCC_OPTION),clang)
|
ifneq ($(findstring clang,$(LLVMCC_OPTION)),)
|
||||||
ifneq ($(CLANGPATH),)
|
ifneq ($(CLANGPATH),)
|
||||||
LLVMCC := $(CLANGPATH)
|
LLVMCC := $(CLANGPATH)
|
||||||
LLVMCXX := $(CLANGXXPATH)
|
LLVMCXX := $(CLANGXXPATH)
|
||||||
|
Loading…
Reference in New Issue
Block a user