Dash:
[t2.git] / package / develop / llvm / build-any.patch
blobdc1fd7b9ed6c039e074fdc8a887fe1ad6944fb92
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../llvm/build-any.patch
5 # Copyright (C) 2020 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
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
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- llvm-10.0.1.src/cmake/config-ix.cmake.vanilla 2020-08-25 12:10:56.564873226 +0200
18 +++ llvm-10.0.1.src/cmake/config-ix.cmake 2020-08-25 12:11:09.220873240 +0200
19 @@ -434,7 +434,7 @@
20 elseif (LLVM_NATIVE_ARCH MATCHES "riscv64")
21 set(LLVM_NATIVE_ARCH RISCV)
22 else ()
23 - message(FATAL_ERROR "Unknown architecture ${LLVM_NATIVE_ARCH}")
24 + set(LLVM_NATIVE_ARCH X86)
25 endif ()
27 # If build targets includes "host", then replace with native architecture.