[PATCH] libc/uClibc: Propagate linker hash-style
Bernhard Reutner-Fischer
rep.dot.nop@gmail.com
Wed Mar 25 22:52:00 GMT 2015
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
scripts/build/libc/uClibc.sh | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh
index f0522ab..4f35f95 100644
--- a/scripts/build/libc/uClibc.sh
+++ b/scripts/build/libc/uClibc.sh
@@ -265,6 +265,19 @@ mungeuClibcConfig() {
s/.*(DOSTRIP).*/# \\1 is not set/
ENDSED
+ case "${CT_CC_GCC_LNK_HASH_STYLE}" in
+ ""|"susv")
+ cat <<-ENDSED
+ s/.*(LDSO_GNU_HASH_SUPPORT).*/# \\1 is not set/
+ ENDSED
+ ;;
+ *)
+ cat <<-ENDSED
+ s/.*(LDSO_GNU_HASH_SUPPORT).*/\\1=y/
+ ENDSED
+ ;;
+ esac
+
# Ah. We may one day need architecture-specific handler here...
case "${CT_ARCH}" in
arm)
--
1.7.10.4
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list