title: Configure coverity for ndk-build
body: <p>I would like to use coverity for static analysis, and I needed it for c++. Since my project uses Android NDK, I configured the compiler as:</p>
  
  <pre><code>cov-configure –comptype gcc –compiler ~/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc-4.6
  </code></pre>
  
  <p>Then I  ran <code>cov-build –dir coverity ndk-build –j8 NDK_DEBUG=1</code></p>
  
  <p>Everything builds, but I have a warning</p>
  
  <pre><code>*[*WARNING] No files were emitted. This may be due to a problem with your configuration
  or because no files were actually compiled by your build command.
  Please make sure you have configured the compilers actually used in the compilation.**
  </code></pre>
  
  <p>So I ignored the warning and ran</p>
  
  <pre><code>cov-analyze –dir coverity –all
  **Coverity Static Analysis for C/C++ version 6.6.1 on Linux 2.6.38-8-server x86_64
  Internal version numbers: d614fc01a4 p-eureka-push-15003.308
  
  Looking for translation units
  Error: no matching translation units.**
  </code></pre>
  
  <p>So is my compiler configured properly? Has anyone configured a compiler for Android NDK before?</p>