summaryrefslogtreecommitdiff
path: root/libresolv/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libresolv/Makefile.in')
-rw-r--r--libresolv/Makefile.in7
1 files changed, 1 insertions, 6 deletions
diff --git a/libresolv/Makefile.in b/libresolv/Makefile.in
index 4b4d781c1..5ccfeebbf 100644
--- a/libresolv/Makefile.in
+++ b/libresolv/Makefile.in
@@ -7,12 +7,7 @@
CFLAGS-libresolv := -DNOT_IN_libc -DIS_IN_libresolv $(SSP_ALL_CFLAGS)
-LDFLAGS-libresolv.so := $(LDFLAGS)
-ifdef ASNEEDED
-ifeq ($(UCLIBC_HAS_SSP),y)
-LDFLAGS-libresolv.so += -Wl,--no-as-needed -lc -Wl,--as-needed
-endif
-endif
+LDFLAGS-libresolv.so := $(LDFLAGS) $(call link.asneeded,-lc)
LIBS-libresolv.so := $(LIBS)