mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Make sure that $(CXX.Flags) is passed to the linker so that the same options
with which source is compiled are used when linking. This matters when a project is using the LLVM makefiles and overrides CXXFLAGS to specify new flags to use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28322 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f3af4ff005
commit
c14c936c79
@ -396,9 +396,9 @@ BCCompile.CXX = $(LLVMGXXWITHPATH) $(CPP.Flags) $(CompileCommonOpts) \
|
||||
$(CXX.Flags)
|
||||
Preprocess.CXX= $(CXX) $(CPP.Flags) $(CompileCommonOpts) $(CXX.Flags) -E
|
||||
Link = $(LIBTOOL) $(LibTool.Flags) --mode=link $(CXX) $(CPP.Flags) \
|
||||
$(CompileCommonOpts) $(LD.Flags) $(Strip)
|
||||
$(CXX.Flags) $(CompileCommonOpts) $(LD.Flags) $(Strip)
|
||||
Relink = $(LIBTOOL) $(LibTool.Flags) --mode=link $(CXX) $(CPP.Flags) \
|
||||
$(CompileCommonOpts) $(Relink.Flags)
|
||||
$(CXX.Flags) $(CompileCommonOpts) $(Relink.Flags)
|
||||
LTInstall = $(LIBTOOL) $(LibTool.Flags) --mode=install $(INSTALL) \
|
||||
$(Install.Flags)
|
||||
ProgInstall = $(INSTALL) $(Install.StripFlag) -m 0755
|
||||
|
Loading…
x
Reference in New Issue
Block a user