summaryrefslogtreecommitdiff
path: root/glibc/glibc-initial_2.3.2.oe
diff options
context:
space:
mode:
Diffstat (limited to 'glibc/glibc-initial_2.3.2.oe')
-rw-r--r--glibc/glibc-initial_2.3.2.oe6
1 files changed, 2 insertions, 4 deletions
diff --git a/glibc/glibc-initial_2.3.2.oe b/glibc/glibc-initial_2.3.2.oe
index e3b0c4e3c2..c3cdcf412e 100644
--- a/glibc/glibc-initial_2.3.2.oe
+++ b/glibc/glibc-initial_2.3.2.oe
@@ -10,7 +10,8 @@ do_configure () {
sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure
chmod +x ${S}/configure
CC="${BUILD_CC}" CPP="${BUILD_CPP}" LD="${BUILD_LD}" ${S}/configure --host=${TARGET_SYS} --build=${BUILD_SYS} \
- --without-cvs --disable-sanity-checks --with-headers=${HEADERS_DIR}/include \
+ --without-cvs --disable-sanity-checks \
+ --with-headers=${CROSS_DIR}/${TARGET_SYS}/include \
--enable-hacker-mode
if grep -q GLIBC_2.3 ${S}/ChangeLog; then
# glibc-2.3.x passes cross options to $(CC) when generating errlist-compat.c, which fails without a real cross-compiler.
@@ -37,9 +38,6 @@ do_stage () {
mkdir -p ${CROSS_DIR}/${TARGET_SYS}/include/gnu
touch ${CROSS_DIR}/${TARGET_SYS}/include/gnu/stubs.h
cp ${S}/include/features.h ${CROSS_DIR}/${TARGET_SYS}/include/features.h
- install -d ${CROSS_DIR}/${TARGET_SYS}/include/asm
- cp -a ${HEADERS_DIR}/include/linux ${CROSS_DIR}/${TARGET_SYS}/include/
- cp -R ${HEADERS_DIR}/include/asm/* ${CROSS_DIR}/${TARGET_SYS}/include/asm/
}
do_install () {