summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-05-01 23:33:57 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-05-01 23:33:57 +0000
commit1154c32772d0fe5b2adbd003e165aa2c9e19ebd2 (patch)
treea57bd10d283d11db7109cd255db098d45c9890cb
parent044d4ef7c9a6e1c087fcfb845e20cd54cf7519b7 (diff)
blow away old libc.so.6 before staging - patch courtesy pb_.
BKrev: 409433e5aV-qyxGRt2s6aaQjXfyYHQ
-rw-r--r--glibc/glibc_cvs.oe2
1 files changed, 2 insertions, 0 deletions
diff --git a/glibc/glibc_cvs.oe b/glibc/glibc_cvs.oe
index efb1ec9f70..12f7152432 100644
--- a/glibc/glibc_cvs.oe
+++ b/glibc/glibc_cvs.oe
@@ -124,6 +124,7 @@ do_compile () {
}
do_stage() {
+ rm -f ${STAGING_LIBDIR}/libc.so.6
oe_runmake 'install_root=${STAGING_DIR}/${HOST_SYS}' \
'includedir=/include' 'libdir=/lib' 'slibdir=/lib' \
'${STAGING_LIBDIR}/libc.so.6' \
@@ -151,6 +152,7 @@ do_stage() {
echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_LIBDIR}/libpthread.so
echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_LIBDIR}/libc.so
+ rm -f ${CROSS_DIR}/${TARGET_SYS}/lib/libc.so.6
oe_runmake 'install_root=${CROSS_DIR}/${TARGET_SYS}' \
'includedir=/include' 'libdir=/lib' 'slibdir=/lib' \
'${CROSS_DIR}/${TARGET_SYS}/lib/libc.so.6' \