From 8b196ac4b8d1be6021a3974f28bba5e947b37db8 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 3 Dec 2019 10:58:52 +0100 Subject: Expand $(as-needed) and $(no-as-needed) throughout the build system Since commit a3cc4f48e94f32c9532ee36982ac00eb1e5719b0 ("Remove --as-needed configure test."), --as-needed support is no longer optional. The macros are not much shorter and do not provide documentary value, either, so this commit removes them. --- stdlib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib') diff --git a/stdlib/Makefile b/stdlib/Makefile index 8ca82f83da..c8520285f4 100644 --- a/stdlib/Makefile +++ b/stdlib/Makefile @@ -211,7 +211,7 @@ $(objpfx)tst-fmtmsg.out: tst-fmtmsg.sh $(objpfx)tst-fmtmsg $(evaluate-test) $(objpfx)tst-putenv: $(objpfx)tst-putenvmod.so -LDFLAGS-tst-putenv = $(no-as-needed) +LDFLAGS-tst-putenv = -Wl,--no-as-needed $(objpfx)tst-putenvmod.so: $(objpfx)tst-putenvmod.os $(link-libc-deps) $(build-module) -- cgit 1.4.1