From 7c2e00bf7c5f2ea52c2687e39cad70344c8596e2 Mon Sep 17 00:00:00 2001 From: Alfred Persson Forsberg Date: Wed, 30 Aug 2023 13:01:15 +0200 Subject: fix x86 in LLVM targets check previously it would match CTARGET for amd64*. Signed-off-by: Alfred Persson Forsberg Closes: https://github.com/gentoo/crossdev/pull/11 Signed-off-by: Sam James --- crossdev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crossdev b/crossdev index 29adbeb..c1b59de 100755 --- a/crossdev +++ b/crossdev @@ -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" ;; -- cgit v1.2.3-65-gdbad