Add CXXFLAGS back to the Link command.
authorBob Wilson <bob.wilson@apple.com>
Thu, 27 Jun 2013 06:09:14 +0000 (06:09 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 27 Jun 2013 06:09:14 +0000 (06:09 +0000)
This is essentially reverting one piece of 184793 to try to fix one of Apple's
buildbots.  I will check with Eric to see if this is OK or if we need to find
some other solution.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185060 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index ade5f1a8f755759f36a7d252adbb1138b9b771bb..f0725502832fe2b039cc9e6edf16f0a7a113e136 100644 (file)
@@ -757,7 +757,8 @@ Preprocess.CXX= $(Compile.Wrapper) \
                  $(CXX) $(CPP.Flags) $(TargetCommonOpts) $(CPPFLAGS) \
                 $(CompileCommonOpts) $(CXX.Flags) -E
 Link          = $(Compile.Wrapper) \
-                 $(CXX) $(LD.Flags) $(LDFLAGS) $(TargetCommonOpts) $(Strip)
+                 $(CXX) $(CXXFLAGS) $(LD.Flags) $(LDFLAGS) \
+                $(TargetCommonOpts) $(Strip)
 
 BCCompile.C   = $(LLVMCC) $(CPP.Flags) $(C.Flags) $(CFLAGS) $(CPPFLAGS) \
                 $(TargetCommonOpts) $(CompileCommonOpts)