commit | 7ae61658b31a01ae49e3028e408d3d8b435f2a75 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Thu Jul 12 16:14:14 2018 +0100 |
committer | Andrew Scull <ascull@google.com> | Thu Jul 12 16:14:14 2018 +0100 |
tree | c5a691a555b4ad9cb5cc3b973570fde6ec0aa897 | |
parent | dbd80e23d43c883e01b5597577364327617dc2ef [diff] |
Makefile: optionally compile with clang Different compilers can produce different warnings so having the option to use gcc or clang lets us take advantage of that. Clang is also the preferred compiler for Android projects. The clang build fails at the moment but this adds the infrastructure to select clang as the compiler with the `CLANG` environment variable: CLANG=1 make Change-Id: I2dd5e8ce8e7fc20e93f5780348726a2f9b76239b