This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] stdlib/Makefile: Link tst-tls-atexit without --as-needed.
- From: Will Newton <will dot newton at linaro dot org>
- To: libc-alpha at sourceware dot org
- Cc: patches at linaro dot org
- Date: Mon, 12 Aug 2013 08:58:11 +0100
- Subject: [PATCH] stdlib/Makefile: Link tst-tls-atexit without --as-needed.
Fix a build failure with toolchains that pass --as-needed by default.
ChangeLog:
2013-08-09 Will Newton <will.newton@linaro.org>
* stdlib/Makefile: Link tst-tls-atexit without --as-needed.
---
stdlib/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stdlib/Makefile b/stdlib/Makefile
index 17d80e0..969dd51 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -161,6 +161,6 @@ $(objpfx)tst-strtod6: $(link-libm)
tst-tls-atexit-lib.so-no-z-defs = yes
-LDFLAGS-tst-tls-atexit = $(common-objpfx)nptl/libpthread.so \
+LDFLAGS-tst-tls-atexit = $(no-as-needed) $(common-objpfx)nptl/libpthread.so \
$(common-objpfx)dlfcn/libdl.so
$(objpfx)tst-tls-atexit.out: $(objpfx)tst-tls-atexit-lib.so
--
1.8.1.4