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.
This commit is contained in:
Yann E. MORIN" 2010-01-23 18:40:38 +01:00
parent 6b73ea68c5
commit ac46ac3dd5

View File

@ -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.