diff options
author | Stefanus Du Toit <stefanus.du.toit@intel.com> | 2013-07-30 17:33:30 +0000 |
---|---|---|
committer | Stefanus Du Toit <stefanus.du.toit@intel.com> | 2013-07-30 17:33:30 +0000 |
commit | 4acd24ad78bd75882ef821cf817d6ff9734011ab (patch) | |
tree | 1f5763a6f7f40919b5e88181b6cb35a507b614bc | |
parent | 4b93aee16f3a81aaf18114c88cc52482262035f3 (diff) | |
download | lldb-4acd24ad78bd75882ef821cf817d6ff9734011ab.tar.gz |
Use the correct compiler to compute dependencies.
This uses $(CXX) instead of $(CC) to generate the .d files for tests built
with Makefiles.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187426 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/make/Makefile.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/make/Makefile.rules b/test/make/Makefile.rules index d4a91450f..e1d122909 100644 --- a/test/make/Makefile.rules +++ b/test/make/Makefile.rules @@ -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 $@.$$$$ |