summaryrefslogtreecommitdiff
path: root/packages/uclibc/uclibc-svn/ldso_hash.patch
blob: 8a625f21c2e8fd923bddc45541b2b03438ebe914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: uClibc-0.9.30/Rules.mak
===================================================================
--- uClibc-0.9.30.orig/Rules.mak	2008-11-15 16:35:00.713664783 +0100
+++ uClibc-0.9.30/Rules.mak	2008-11-15 16:36:32.776988120 +0100
@@ -519,13 +519,7 @@
 endif
 
 ifeq ($(LDSO_GNU_HASH_SUPPORT),y)
-# Be sure that binutils support it
-LDFLAGS_GNUHASH:=$(call check_ld,--hash-style=gnu)
-ifeq ($(LDFLAGS_GNUHASH),)
-$(error Your binutils don't support --hash-style option, while you want to use it)
-else
-LDFLAGS_NOSTRIP += -Wl,$(LDFLAGS_GNUHASH)
-endif
+LDFLAGS_NOSTRIP += -Wl,--hash-style=gnu
 endif
 
 LDFLAGS:=$(LDFLAGS_NOSTRIP) -Wl,-z,defs