[oe-commits] org.oe.dev glibc-2.5 initial: hide the 2.3 inheritance a bit better

koen commit openembedded-commits at lists.openembedded.org
Thu Jan 4 19:03:19 UTC 2007


glibc-2.5 initial: hide the 2.3 inheritance a bit better

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 6eaba88e96cdd0dcc6310051c179f23ef2c7d85b
ViewMTN: http://monotone.openembedded.org/revision.psp?id=6eaba88e96cdd0dcc6310051c179f23ef2c7d85b
Files:
1
packages/glibc/glibc-initial_2.5.bb
Diffs:

#
# mt diff -red848ee65b0fcd4c6915ac659ce5f6e7117a2e65 -r6eaba88e96cdd0dcc6310051c179f23ef2c7d85b
#
# 
# 
# patch "packages/glibc/glibc-initial_2.5.bb"
#  from [08b7c7a5d7f1b0b88502b6c7afd6a8d0260fd5b9]
#    to [edbbd69c2ecac34792c78eff18010d1fccb0e9ba]
# 
============================================================
--- packages/glibc/glibc-initial_2.5.bb	08b7c7a5d7f1b0b88502b6c7afd6a8d0260fd5b9
+++ packages/glibc/glibc-initial_2.5.bb	edbbd69c2ecac34792c78eff18010d1fccb0e9ba
@@ -9,11 +9,12 @@ do_configure () {
 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.






More information about the Openembedded-commits mailing list