From 82ddeab42d10b011d9c5096403c114c144a09c70 Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Fri, 25 Mar 2011 01:01:41 +0100
Subject: [PATCH 199/396] Makerules: hardcode absolute path into .interp section

Reverted partly an earlier commit, keeping only the stripping
of multiple /.

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
---
 Makerules |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/Makerules b/Makerules
index 7153836..60acaa8 100644
--- a/Makerules
+++ b/Makerules
@@ -373,14 +373,9 @@ $(top_builddir)%.dep:
 $(top_builddir)lib/interp.c: | $(top_builddir)lib
 	$(Q)echo "/* Force shared libraries to know about the correct library loader */" > $@.tmp
 	$(Q)echo "#include <features.h>" >> $@.tmp
-ifeq ($(HARDWIRED_ABSPATH),y)
 	$(Q)echo "const char __dl_ldso__[] attribute_hidden __attribute__ ((weak)) __attribute__ ((section " \
 		"(\".interp\"))) =\""$(RUNTIME_PREFIX)$(MULTILIB_DIR)/$(UCLIBC_LDSO)"\";" >> $@.tmp
 	$(Q)$(SED) -i -e 's://:/:g' $@.tmp
-else
-	$(Q)echo "const char __dl_ldso__[] attribute_hidden __attribute__ ((weak)) __attribute__ ((section " \
-		"(\".interp\"))) =\""$(UCLIBC_LDSO)"\";" >> $@.tmp
-endif
 	$(Q)mv $@.tmp $@
 
 $(interp): $(top_builddir)lib/interp.c | $(sub_headers)
-- 
1.7.0.4

