diff mini-native.sh @ 66:57f77c25b39d

Hit uClibc build with a large rock so it stops inserting hardwired paths in libc.so linker script. Add strace to download list because it's likely to come in handy soon.
author Rob Landley <rob@landley.net>
date Wed, 27 Dec 2006 22:32:40 -0500
parents 89cf9497824e
children fd2cf40fcd02
line wrap: on
line diff
--- a/mini-native.sh	Tue Dec 26 01:20:11 2006 -0500
+++ b/mini-native.sh	Wed Dec 27 22:32:40 2006 -0500
@@ -8,6 +8,7 @@
 
 # Tell the wrapper script where to find the dynamic linker.
 export UCLIBC_DYNAMIC_LINKER=/tools/lib/ld-uClibc.so.0
+export UCLIBC_RPATH=/tools/lib
 
 # Purple.  And why not?
 echo -e "\e[35m"
@@ -33,8 +34,8 @@
 setupfor uClibc
 cp "${WORK}"/config-uClibc .config &&
 (yes "" | make CROSS="${ARCH}-" oldconfig) > /dev/null &&
-make CROSS="${ARCH}-" KERNEL_HEADERS="${TOOLS}/include" \
-        RUNTIME_PREFIX="${TOOLS}/" DEVEL_PREFIX="${TOOLS}/" \
+make CROSS="${ARCH}-" KERNEL_HEADERS="${TOOLS}/include" PREFIX="${NATIVE}/" \
+        RUNTIME_PREFIX=/tools/ DEVEL_PREFIX=/tools/ \
         all install_runtime install_dev install_utils &&
 cd .. &&
 $CLEANUP uClibc*
@@ -139,6 +140,7 @@
 ac_cv_func_setvbuf_reversed=no
 bash_cv_sys_named_pipes=yes
 bash_cv_have_mbstate_t=yes
+bash_cv_getenv_redef=no
 EOF
 CC="${ARCH}-gcc" ./configure --prefix="${TOOLS}" --build="${CROSS_HOST}" \
   --host="${CROSS_TARGET}" --cache-file=config.cache \