summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-01-04 18:57:18 +0000
committerKoen Kooi <koen@openembedded.org>2007-01-04 18:57:18 +0000
commit1b9183a5f1c820ee040a07323bd99f076cd311a4 (patch)
treec3fb7e466d3f69288af41528e88bc3ba44b86fad /packages
parent1196404ecb705a26cb4f37d09cfa661b2af74c9d (diff)
glibc-2.5 initial: hide the 2.3 inheritance a bit better
Diffstat (limited to 'packages')
-rw-r--r--packages/glibc/glibc-initial_2.5.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/glibc/glibc-initial_2.5.bb b/packages/glibc/glibc-initial_2.5.bb
index b6bf3ece51..64f8d4a21e 100644
--- a/packages/glibc/glibc-initial_2.5.bb
+++ b/packages/glibc/glibc-initial_2.5.bb
@@ -9,11 +9,12 @@ PACKAGES = ""
do_configure () {
sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure
chmod +x ${S}/configure
+ unset CFLAGS
CC="${BUILD_CC}" CPP="${BUILD_CPP}" LD="${BUILD_LD}" ${S}/configure --host=${TARGET_SYS} --build=${BUILD_SYS} \
--without-cvs --disable-sanity-checks \
--with-headers=${CROSS_DIR}/${TARGET_SYS}/include \
--enable-hacker-mode
- if grep -q GLIBC_2.3 ${S}/ChangeLog; then
+ if grep -q GLIBC_2.5 ${S}/ChangeLog; then
# glibc-2.3.x passes cross options to $(CC) when generating errlist-compat.c, which fails without a real cross-compiler.
# Fortunately, we don't need errlist-compat.c, since we just need .h files,
# so work around this by creating a fake errlist-compat.c and satisfying its dependencies.