diff options
author | Peter Powell <petpow@saberuk.com> | 2014-10-01 19:52:27 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2014-12-07 22:36:42 +0000 |
commit | 2adb94db3032332ad2235aa032bb195aba89687c (patch) | |
tree | ab92430738fa6f652df6d4a02da9e685e37cee5e /make/unit-cc.pl | |
parent | 133b110534ec3386d8735020e8679236002b6ed1 (diff) |
Improve build system compiler detection.
- Check the CXX environment variable inside find_compiler instead
of doing it separately.
- Use a test file instead of checking for version output. This
ensures we are using a working compiler.
- Pipe the output through run_test which makes debugging problems
considerably easier.
- Detect Xcode versions of Clang properly by returning the LLVM
version number instead of the Xcode one.
Diffstat (limited to 'make/unit-cc.pl')
0 files changed, 0 insertions, 0 deletions