diff options
author | 2023-08-30 13:01:15 +0200 | |
---|---|---|
committer | 2023-08-31 02:15:44 +0100 | |
commit | 7c2e00bf7c5f2ea52c2687e39cad70344c8596e2 (patch) | |
tree | bad1078f0c69f4399ee682b900eaa8d0696228c4 | |
parent | Support standalone LLVM/Clang as crosscompiler (diff) | |
download | crossdev-7c2e00bf7c5f2ea52c2687e39cad70344c8596e2.tar.gz crossdev-7c2e00bf7c5f2ea52c2687e39cad70344c8596e2.tar.bz2 crossdev-7c2e00bf7c5f2ea52c2687e39cad70344c8596e2.zip |
fix x86 in LLVM targets check
previously it would match CTARGET for amd64*.
Signed-off-by: Alfred Persson Forsberg <cat@catcream.org>
Closes: https://github.com/gentoo/crossdev/pull/11
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-x | crossdev | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1730,7 +1730,7 @@ if ! ex_fast ; then llvm_arch="" case ${CTARGET} in - amd64*) llvm_arch="X86" ;; + x86*) llvm_arch="X86" ;; arm*) llvm_arch="ARM" ;; aarch64*) llvm_arch="AArch64" ;; riscv*) llvm_arch="RISCV" ;; |