mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Inline and eliminate LLVMG{CC,XX}WITHPATH.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96913 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b4614bd9c3
commit
a3f173237d
@ -529,8 +529,6 @@ endif
|
||||
ifndef LBUGPOINT
|
||||
LBUGPOINT := $(LLVMToolDir)/bugpoint$(EXEEXT)
|
||||
endif
|
||||
LLVMGCCWITHPATH := $(LLVMGCC)
|
||||
LLVMGXXWITHPATH := $(LLVMGXX)
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Adjust to user's request
|
||||
@ -702,14 +700,12 @@ else
|
||||
$(TargetCommonOpts) $(CompileCommonOpts) $(LD.Flags) $(Strip)
|
||||
endif
|
||||
|
||||
BCCompile.C = $(LLVMGCCWITHPATH) $(CPP.Flags) $(C.Flags) $(CFLAGS) \
|
||||
$(CPPFLAGS) \
|
||||
BCCompile.C = $(LLVMGCC) $(CPP.Flags) $(C.Flags) $(CFLAGS) $(CPPFLAGS) \
|
||||
$(TargetCommonOpts) $(CompileCommonOpts)
|
||||
Preprocess.C = $(CC) $(CPP.Flags) $(C.Flags) $(CPPFLAGS) \
|
||||
$(TargetCommonOpts) $(CompileCommonOpts) -E
|
||||
|
||||
BCCompile.CXX = $(LLVMGXXWITHPATH) $(CPP.Flags) $(CXX.Flags) $(CXXFLAGS) \
|
||||
$(CPPFLAGS) \
|
||||
BCCompile.CXX = $(LLVMGXX) $(CPP.Flags) $(CXX.Flags) $(CXXFLAGS) $(CPPFLAGS) \
|
||||
$(TargetCommonOpts) $(CompileCommonOpts)
|
||||
|
||||
ProgInstall = $(INSTALL) $(Install.StripFlag) -m 0755
|
||||
|
@ -49,15 +49,15 @@ clean::
|
||||
|
||||
# Compile from X.c to Output/X.ll
|
||||
Output/%.ll: %.c $(LCC1) Output/.dir $(INCLUDES)
|
||||
-$(LLVMGCCWITHPATH) $(CPPFLAGS) $(LCCFLAGS) -S $< -o $@
|
||||
-$(LLVMGCC) $(CPPFLAGS) $(LCCFLAGS) -S $< -o $@
|
||||
|
||||
# Compile from X.cpp to Output/X.ll
|
||||
Output/%.ll: %.cpp $(LCC1XX) Output/.dir $(INCLUDES)
|
||||
-$(LLVMGXXWITHPATH) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@
|
||||
-$(LLVMGXX) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@
|
||||
|
||||
# Compile from X.cc to Output/X.ll
|
||||
Output/%.ll: %.cc $(LCC1XX) Output/.dir $(INCLUDES)
|
||||
-$(LLVMGXXWITHPATH) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@
|
||||
-$(LLVMGXX) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@
|
||||
|
||||
# LLVM Assemble from Output/X.ll to Output/X.bc. Output/X.ll must have come
|
||||
# from GCC output, so use GCCAS.
|
||||
|
Loading…
Reference in New Issue
Block a user