aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Persson Forsberg <cat@catcream.org>2023-08-30 13:01:15 +0200
committerSam James <sam@gentoo.org>2023-08-31 02:15:44 +0100
commit7c2e00bf7c5f2ea52c2687e39cad70344c8596e2 (patch)
treebad1078f0c69f4399ee682b900eaa8d0696228c4
parentSupport standalone LLVM/Clang as crosscompiler (diff)
downloadcrossdev-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-xcrossdev2
1 files changed, 1 insertions, 1 deletions
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" ;;