title: unable to infer compiler target triple for clang
body: <p>I have modified the clang. It was working properly. But then I had some git related issues so I cleaned the git and checked out again. Now when I try to run <code>make clean</code> in clang I am getting the following error. How can I fix this?</p>
  
  <pre><code>#A set of warnings here
  make[5]: Entering directory `/home/test/llvm/projects/compiler-rt'
  make/platform/clang_linux.mk:16: *** "unable to infer compiler target triple for clang".  Stop.
  make[5]: Leaving directory `/home/test/llvm/projects/compiler-rt'
  make[4]: *** [CleanRuntimeLibraries] Error 2
  make[4]: Leaving directory `/home/test/llvm/tools/clang/runtime/compiler-rt'
  make[3]: *** [compiler-rt/.makeclean] Error 2
  make[3]: Leaving directory `/home/test/llvm/tools/clang/runtime'
  make[2]: *** [clean] Error 1
  make[2]: Leaving directory `/home/test/llvm/tools/clang'
  make[1]: *** [clang/.makeclean] Error 2
  make[1]: Leaving directory `/home/test/llvm/tools'
  make: *** [clean] Error 1
  </code></pre>