summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-01-23 17:40:38 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-01-23 17:40:38 (GMT)
commitac46ac3dd5157b4d493bb5347ed2e750a3504521 (patch)
treebb6fbfb0da58fd96b6d56f6bd90153e08d75577b
parent6b73ea68c5c66b1b5df784cc5be470f49b56f94a (diff)
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.
-rw-r--r--scripts/build/libc/glibc.sh4
1 files changed, 2 insertions, 2 deletions
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.