This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]