From ac46ac3dd5157b4d493bb5347ed2e750a3504521 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 23 Jan 2010 18:40:38 +0100 Subject: libc/glibc: use CT_ARCH, in place of CT_KERNEL_ARCH Since we merged the 32/64-bit archs, and we explicitly used the Linux kernel arch name, we can get rid of CT_KERNEL_ARCH. diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index 8f28918..264c75f 100644 --- a/scripts/build/libc/glibc.sh +++ b/scripts/build/libc/glibc.sh @@ -115,10 +115,10 @@ do_libc_headers() { CT_DoLog EXTRA "Configuring C library" # The x86 arch needs special care... Bizarelly enough... :-( - case "${CT_KERNEL_ARCH}:${CT_ARCH_BITNESS}" in + case "${CT_ARCH}:${CT_ARCH_BITNESS}" in x86:32) arch4hdrs="i386";; x86:64) arch4hdrs="x86_64";; - *) arch4hdrs="${CT_KERNEL_ARCH}";; + *) arch4hdrs="${CT_ARCH}";; esac # The following three things have to be done to build glibc-2.3.x, but they don't hurt older versions. -- cgit v0.10.2-6-g49f6