04dfb1ef74519b743217f30fbe49cf9f16028a1f
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / uclibc / 0.9.33.2 / 0058-test-tls-fix-build-with-newer-binutils.patch
1 From 931e8391565323ed2e589c83b83a7345813a5514 Mon Sep 17 00:00:00 2001
2 From: Baruch Siach <baruch@tkos.co.il>
3 Date: Wed, 02 Oct 2013 07:08:29 +0000
4 Subject: test: tls: fix build with newer binutils
5
6 Fix the following build failures:
7
8 ld: tst-tls10.o: undefined reference to symbol 'f2a'
9 ld: tst-tls12.o: undefined reference to symbol 'a1'
10
11 binutils ld defaults to --no-copy-dt-needed-entries since version 2.22. Add
12 library dependencies explicitly.
13
14 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
15 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
16 ---
17 (limited to 'test')
18
19 diff --git a/test/tls/Makefile.in b/test/tls/Makefile.in
20 index 875c607..7ab4e2a 100644
21 --- a/test/tls/Makefile.in
22 +++ b/test/tls/Makefile.in
23 @@ -102,9 +102,9 @@ LDFLAGS_tst-tls6 := -ldl
24  LDFLAGS_tst-tls7 := -ldl
25  LDFLAGS_tst-tls8 := -ldl
26  LDFLAGS_tst-tls9 := -ldl
27 -LDFLAGS_tst-tls10 := -Wl,-rpath-link=. tst-tlsmod8.so
28 -LDFLAGS_tst-tls11 := -Wl,-rpath-link=. tst-tlsmod10.so
29 -LDFLAGS_tst-tls12 := -Wl,-rpath-link=. tst-tlsmod12.so
30 +LDFLAGS_tst-tls10 := -Wl,-rpath-link=. tst-tlsmod8.so tst-tlsmod7.so
31 +LDFLAGS_tst-tls11 := -Wl,-rpath-link=. tst-tlsmod9.so tst-tlsmod10.so
32 +LDFLAGS_tst-tls12 := -Wl,-rpath-link=. tst-tlsmod11.so tst-tlsmod12.so
33  LDFLAGS_tst-tls13 := -ldl -Wl,-rpath-link=.
34  LDFLAGS_tst-tls14 := -ldl -Wl,-rpath-link=. tst-tlsmod14a.so
35  LDFLAGS_tst-tls15 := -ldl -Wl,-rpath-link=.
36 --
37 cgit v0.9.1