[Lldb-commits] [lldb] r187426 - Use the correct compiler to compute dependencies.
Stefanus Du Toit
stefanus.du.toit at intel.com
Tue Jul 30 10:33:30 PDT 2013
Author: sdt
Date: Tue Jul 30 12:33:30 2013
New Revision: 187426
URL: http://llvm.org/viewvc/llvm-project?rev=187426&view=rev
Log:
Use the correct compiler to compute dependencies.
This uses $(CXX) instead of $(CC) to generate the .d files for tests built
with Makefiles.
Modified:
lldb/trunk/test/make/Makefile.rules
Modified: lldb/trunk/test/make/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/make/Makefile.rules?rev=187426&r1=187425&r2=187426&view=diff
==============================================================================
--- lldb/trunk/test/make/Makefile.rules (original)
+++ lldb/trunk/test/make/Makefile.rules Tue Jul 30 12:33:30 2013
@@ -326,7 +326,7 @@ endif
%.d: %.cpp
@set -e; rm -f $@; \
- $(CC) -M $(CXXFLAGS) $< > $@.$$$$; \
+ $(CXX) -M $(CXXFLAGS) $< > $@.$$$$; \
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
rm -f $@.$$$$
@@ -338,7 +338,7 @@ endif
%.d: %.mm
@set -e; rm -f $@; \
- $(CC) -M $(CXXFLAGS) $< > $@.$$$$; \
+ $(CXX) -M $(CXXFLAGS) $< > $@.$$$$; \
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
rm -f $@.$$$$
More information about the lldb-commits
mailing list