summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uclibc/uclibc-initial_0.9.26.oe3
-rw-r--r--uclibc/uclibc_0.9.26.oe11
2 files changed, 13 insertions, 1 deletions
diff --git a/uclibc/uclibc-initial_0.9.26.oe b/uclibc/uclibc-initial_0.9.26.oe
index daa4cb013a..fc0b5e0445 100644
--- a/uclibc/uclibc-initial_0.9.26.oe
+++ b/uclibc/uclibc-initial_0.9.26.oe
@@ -16,6 +16,9 @@ do_stage() {
mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include
rm -rf ${CROSS_DIR}/${TARGET_SYS}/${prefix}
+
+ # This conflicts with the c++ version of this header
+ rm -f ${UCLIBC_PREFIX}/include/bits/atomicity.h
}
do_install() {
diff --git a/uclibc/uclibc_0.9.26.oe b/uclibc/uclibc_0.9.26.oe
index 8008b5c0e7..cfd434f953 100644
--- a/uclibc/uclibc_0.9.26.oe
+++ b/uclibc/uclibc_0.9.26.oe
@@ -102,12 +102,15 @@ do_stage() {
rm -f ${UCLIBC_PREFIX}/include/.cvsignore
# Fixup shared lib symlinks
- ( cd ${UCLIBC_STAGE_PREFIX}/lib
+ ( cd ${UCLIBC_PREFIX}/lib
for f in c crypt dl m nsl pthread resolv thread_db util; do
ln -sf lib${f}.so.? lib${f}.so
done
)
+ # This conflicts with the c++ version of this header
+ rm -f ${UCLIBC_PREFIX}/include/bits/atomicity.h
+
# Install into the staging dir
make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
@@ -122,6 +125,9 @@ do_stage() {
ln -sf lib${f}.so.? lib${f}.so
done
)
+
+ # This conflicts with the c++ version of this header
+ rm -f ${UCLIBC_STAGE_PREFIX}/include/bits/atomicity.h
}
do_install() {
@@ -130,5 +136,8 @@ do_install() {
# We don't really need this in /usr/include
rm -f ${D}/${prefix}/include/.cvsignore
+
+ # This conflicts with the c++ version of this header
+ rm -f ${D}/${prefix}/include/bits/atomicity.h
}