changeset 1136:fb05d8a5fd77

Oops, a debug bit leaked. Keep it in but make it not fail when HAVE_SHARED=n.
author Rob Landley <rob@landley.net>
date Tue, 22 Jun 2010 14:20:26 -0500
parents 2b7100b7de0c
children 8a0b2268c8ca
files sources/sections/uClibc.build
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/sections/uClibc.build	Tue Jun 22 00:58:59 2010 -0500
+++ b/sources/sections/uClibc.build	Tue Jun 22 14:20:26 2010 -0500
@@ -27,7 +27,11 @@
 cp .config "$STAGE_DIR/src/config-uClibc" &&
 make_uClibc install || dienow
 
-sed -i 's@/lib/@@g' "$STAGE_DIR/lib/libc.so" || dienow
+# Old versions of uClibc couldn't be told not to hardwire absolute paths
+# into their linker scripts.  This isn't needed for current versions, and
+# is allowed to fail if HAVE_SHARED=n
+
+sed -i 's@/lib/@@g' "$STAGE_DIR/lib/libc.so" 2>/dev/null
 
 # Build ldd and friends