summary refs log tree commit diff
path: root/stdlib/Makefile
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-04-16 14:06:47 +1000
committerCarlos O'Donell <carlos_odonell@mentor.com>2012-05-02 20:32:50 -0400
commitd4c2917fc5091dae7ab1b30c165becb70d3c3453 (patch)
tree47b1f1456ffdd0cc9a41879c5d09c9a8cd221057 /stdlib/Makefile
parentd77f993f648216a1c697058ce541263d2a562490 (diff)
downloadglibc-d4c2917fc5091dae7ab1b30c165becb70d3c3453.tar.gz
glibc-d4c2917fc5091dae7ab1b30c165becb70d3c3453.tar.xz
glibc-d4c2917fc5091dae7ab1b30c165becb70d3c3453.zip
Fix test-suite failues with -Wl,--as-needed
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'stdlib/Makefile')
-rw-r--r--stdlib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile
index 44eb20d681..f7811c5bbb 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -138,6 +138,7 @@ $(objpfx)tst-fmtmsg.out: tst-fmtmsg.sh $(objpfx)tst-fmtmsg
 	$(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)' $(common-objpfx)stdlib/
 
 $(objpfx)tst-putenv: $(objpfx)tst-putenvmod.so
+LDFLAGS-tst-putenv = $(no-as-needed)
 
 $(objpfx)tst-putenvmod.so: $(objpfx)tst-putenvmod.os
 	$(build-module)