diff options
author | Bob Wilson <bob.wilson@apple.com> | 2013-04-30 17:06:40 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2013-04-30 17:06:40 +0000 |
commit | 2b26c909424953af8fa443d075e27e68c1571be4 (patch) | |
tree | 7a524ac0ca86c4d74430f7c3a1925ab8d0d54a20 /SDKs | |
parent | 6a72c9d8509bb8e751cb92e71407c039a767caa1 (diff) |
Rewrite sw_vers makefile check to avoid error message on Linux.
When building compiler-rt on Linux, the "which sw_vers" check fails and
writes an error message into the build log. Apparently on Solaris "which"
writes the error message to stdout, so that the current test won't even
work properly. As far as I know sw_vers always lives in /usr/bin, so just
check for it there instead of using "which".
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'SDKs')
0 files changed, 0 insertions, 0 deletions