Recognize the UNAME_RELEASE environment variable to match Darwin's uname.
authorBob Wilson <bob.wilson@apple.com>
Tue, 9 Aug 2011 05:13:36 +0000 (05:13 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 9 Aug 2011 05:13:36 +0000 (05:13 +0000)
commitf5b757642d8c51c559c17532d193a13d1f2e3cc0
tree28af955361172a61ef2ef1b122906302a6358606
parent70d0ca999c7a2ef07ea39d26d67b5df57e6e6496
Recognize the UNAME_RELEASE environment variable to match Darwin's uname.
When this variable is set, "uname -r" will return its value instead of the
real OS version.  Make this affect LLVM's triple for consistency.
<rdar://problem/9919167>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137111 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Unix/Host.inc