summaryrefslogtreecommitdiffstats
path: root/Tests/CompileCommandOutput
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-01-20 14:59:03 (GMT)
committerBrad King <brad.king@kitware.com>2014-01-20 15:55:19 (GMT)
commit9d2a0900ed48eb4ae2df0e7672b9ede5af28e193 (patch)
tree624004e7c5c290671b85b3ba8897e80618daf898 /Tests/CompileCommandOutput
parent1b3958130e1b443368d33096764747542da28202 (diff)
downloadCMake-9d2a0900ed48eb4ae2df0e7672b9ede5af28e193.zip
CMake-9d2a0900ed48eb4ae2df0e7672b9ede5af28e193.tar.gz
CMake-9d2a0900ed48eb4ae2df0e7672b9ede5af28e193.tar.bz2
OS X: Use 'uname -m' for processor (#14712)
In commit 2412d9bc (Use 'uname -m' for processor on Cygwin, 2010-09-21) it was pointed out that POSIX requires 'uname -m' but not 'uname -p': http://www.opengroup.org/onlinepubs/9699919799/utilities/uname.html On OS X x86_64, 'uname -p' returns i386 while 'uname -m' returns x86_64. Since the latter is the POSIX-compliant option trust its value. However, on OS X ppc, 'uname -m' returns 'Power Macintosh' so add a special-case to convert that to 'powerpc'.
Diffstat (limited to 'Tests/CompileCommandOutput')
0 files changed, 0 insertions, 0 deletions