diff mbox

libc/uClibc: Propagate linker hash-style

Message ID 1427323937-10392-1-git-send-email-rep.dot.nop@gmail.com
State New
Headers show

Commit Message

Bernhard Reutner-Fischer March 25, 2015, 10:52 p.m. UTC
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 scripts/build/libc/uClibc.sh |   13 +++++++++++++
 1 file changed, 13 insertions(+)
diff mbox

Patch

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)