1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/.../llvm/mips64.patch
5 # Copyright (C) 2020 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- llvm-10.0.0.src/cmake/config.guess.vanilla 2020-07-02 16:55:53.714063229 +0200
18 +++ llvm-10.0.0.src/cmake/config.guess 2020-07-02 16:57:09.586058707 +0200
20 echo ${UNAME_MACHINE}-unknown-linux-gnu
22 mips:Linux:*:* | mips64:Linux:*:*)
23 - eval $set_cc_for_build
24 - sed 's/^ //' << EOF >$dummy.c
26 - #undef ${UNAME_MACHINE}
27 - #undef ${UNAME_MACHINE}el
28 - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
29 - CPU=${UNAME_MACHINE}el
31 - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
32 - CPU=${UNAME_MACHINE}
38 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
39 - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
41 + echo ${UNAME_MACHINE}-unknown-linux-gnu
44 echo or32-unknown-linux-gnu