aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/uclibc/uclibc-svn/ldso_hash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/uclibc/uclibc-svn/ldso_hash.patch')
-rw-r--r--recipes/uclibc/uclibc-svn/ldso_hash.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/uclibc/uclibc-svn/ldso_hash.patch b/recipes/uclibc/uclibc-svn/ldso_hash.patch
new file mode 100644
index 0000000000..974f564396
--- /dev/null
+++ b/recipes/uclibc/uclibc-svn/ldso_hash.patch
@@ -0,0 +1,14 @@
+Index: uClibc-nptl/Rules.mak
+===================================================================
+--- uClibc-nptl/Rules.mak (revision 24450)
++++ uClibc-nptl/Rules.mak (working copy)
+@@ -522,7 +522,8 @@
+
+ ifeq ($(LDSO_GNU_HASH_SUPPORT),y)
+ # Be sure that binutils support it
+-LDFLAGS_GNUHASH:=$(call check_ld,--hash-style=gnu)
++#LDFLAGS_GNUHASH:=$(call check_ld,--hash-style=gnu)
++LDFLAGS_GNUHASH:=--hash-style=gnu
+ ifeq ($(LDFLAGS_GNUHASH),)
+ $(error Your binutils don't support --hash-style option, while you want to use it)
+ else