diff options
author | Allan McRae <allan@archlinux.org> | 2012-04-16 14:06:47 +1000 |
---|---|---|
committer | Carlos O'Donell <carlos_odonell@mentor.com> | 2012-05-02 20:32:50 -0400 |
commit | d4c2917fc5091dae7ab1b30c165becb70d3c3453 (patch) | |
tree | 47b1f1456ffdd0cc9a41879c5d09c9a8cd221057 /nptl/Makefile | |
parent | d77f993f648216a1c697058ce541263d2a562490 (diff) | |
download | glibc-d4c2917fc5091dae7ab1b30c165becb70d3c3453.zip glibc-d4c2917fc5091dae7ab1b30c165becb70d3c3453.tar.gz glibc-d4c2917fc5091dae7ab1b30c165becb70d3c3453.tar.bz2 |
Fix test-suite failues with -Wl,--as-needed
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'nptl/Makefile')
-rw-r--r-- | nptl/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index 09acd8a..07a1022 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -458,6 +458,7 @@ $(objpfx)tst-tls4: $(libdl) $(shared-thread-library) $(objpfx)tst-tls4.out: $(objpfx)tst-tls4moda.so $(objpfx)tst-tls4modb.so $(objpfx)tst-tls5: $(objpfx)tst-tls5mod.so $(shared-thread-library) +LDFLAGS-tst-tls5 = $(no-as-needed) LDFLAGS-tst-tls5mod.so = -Wl,-soname,tst-tls5mod.so ifeq ($(build-shared),yes) @@ -503,7 +504,7 @@ $(objpfx)tst-clock2: $(common-objpfx)rt/librt.a $(objpfx)tst-rwlock14: $(common-objpfx)rt/librt.a endif -LDFLAGS-tst-cancel24 = -lstdc++ +LDFLAGS-tst-cancel24 = $(no-as-needed) -lstdc++ extra-B-pthread.so = -B$(common-objpfx)nptl/ $(objpfx)libpthread.so: $(addprefix $(objpfx),$(crti-objs) $(crtn-objs)) |