[llvm-commits] [llvm-gcc-4.2] r101809 - /llvm-gcc-4.2/trunk/config.guess
Stuart Hastings
stuart at apple.com
Mon Apr 19 12:52:58 PDT 2010
Author: stuart
Date: Mon Apr 19 14:52:58 2010
New Revision: 101809
URL: http://llvm.org/viewvc/llvm-project?rev=101809&view=rev
Log:
On Darwin, clip the decimals from the version, teaching config.guess to guess Darwin triples correctly.
Modified:
llvm-gcc-4.2/trunk/config.guess
Modified: llvm-gcc-4.2/trunk/config.guess
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/config.guess?rev=101809&r1=101808&r2=101809&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/config.guess (original)
+++ llvm-gcc-4.2/trunk/config.guess Mon Apr 19 14:52:58 2010
@@ -1211,6 +1211,8 @@
fi ;;
unknown) UNAME_PROCESSOR=powerpc ;;
esac
+ # LLVM LOCAL "10.5.0" => "10"
+ UNAME_RELEASE=`echo $UNAME_RELEASE | sed -E 's/([0-9]+).*/\1/'`
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
exit ;;
*:procnto*:*:* | *:QNX:[0123456789]*:*)
More information about the llvm-commits
mailing list