mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +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
|
||||
#--------------------------------------------------------------------
|
||||
|
||||
ifeq ($(LLVMCC_OPTION),llvm-gcc)
|
||||
ifneq ($(findstring llvm-gcc,$(LLVMCC_OPTION)),)
|
||||
LLVMCC := $(LLVMGCC)
|
||||
LLVMCXX := $(LLVMGXX)
|
||||
else
|
||||
ifeq ($(LLVMCC_OPTION),clang)
|
||||
ifneq ($(findstring clang,$(LLVMCC_OPTION)),)
|
||||
ifneq ($(CLANGPATH),)
|
||||
LLVMCC := $(CLANGPATH)
|
||||
LLVMCXX := $(CLANGXXPATH)
|
||||
|
Loading…
x
Reference in New Issue
Block a user