diff options
author | Eric Christopher <echristo@apple.com> | 2009-08-18 18:07:35 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2009-08-18 18:07:35 +0000 |
commit | d631dfc90ab6fd378c03822c5744ad1fed6a370c (patch) | |
tree | f8254d6eb9edf68550b07c537250d96e4fa8a812 /Makefile.rules | |
parent | 1452cafa09a9565350e265e1136bb67e50b787f7 (diff) | |
download | external_llvm-d631dfc90ab6fd378c03822c5744ad1fed6a370c.zip external_llvm-d631dfc90ab6fd378c03822c5744ad1fed6a370c.tar.gz external_llvm-d631dfc90ab6fd378c03822c5744ad1fed6a370c.tar.bz2 |
Add CXXFLAGS to the Link lines as well in case someone used those instead
of LDFLAGS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79352 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules index 4452bc8..8cc6558 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -640,7 +640,8 @@ ifeq ($(BUILD_COMPONENT), 1) $(TargetCommonOpts) $(CompileCommonOpts) -c Preprocess.CXX= $(BUILD_CXX) $(CPP.Flags) $(CPPFLAGS) $(TargetCommonOpts) \ $(CompileCommonOpts) $(CXX.Flags) -E - Link = $(BUILD_CXX) $(CPP.Flags) $(CXX.Flags) $(LDFLAGS) \ + Link = $(BUILD_CXX) $(CPP.Flags) $(CXX.Flags) $(CXXFLAGS) \ + $(LDFLAGS) \ $(TargetCommonOpts) $(CompileCommonOpts) $(LD.Flags) $(Strip) else Compile.C = $(CC) $(CPP.Flags) $(C.Flags) $(CFLAGS) $(CPPFLAGS) \ @@ -649,7 +650,7 @@ else $(TargetCommonOpts) $(CompileCommonOpts) -c Preprocess.CXX= $(CXX) $(CPP.Flags) $(TargetCommonOpts) $(CPPFLAGS) \ $(CompileCommonOpts) $(CXX.Flags) -E - Link = $(CXX) $(CPP.Flags) $(CXX.Flags) $(LDFLAGS) \ + Link = $(CXX) $(CPP.Flags) $(CXX.Flags) $(CXXFLAGS) $(LDFLAGS) \ $(TargetCommonOpts) $(CompileCommonOpts) $(LD.Flags) $(Strip) endif |