llvm.org GIT mirror llvm / 3de510e
Use processor name in the target triple. This fixes PowerPC64 to generate 64bit code for example. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132627 91177308-0d34-0410-b5e6-96231b3b80d8 Roman Divacky 8 years ago
1 changed file(s) with 2 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
788788 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
789789 exit ;;
790790 *:FreeBSD:*:*)
791 UNAME_PROCESSOR=`/usr/bin/uname -p`
791792 case ${UNAME_MACHINE} in
792 pc98)
793 echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
794793 amd64)
795794 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
796795 *)
797 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
796 echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
798797 esac
799798 exit ;;
800799 i*:CYGWIN*:*)