summaryrefslogtreecommitdiffstats
path: root/libnsl
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-01-22 16:04:28 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-01-22 16:04:28 +0000
commit91772298b0377ab805e19085f60a7808fe62d157 (patch)
tree520a9015fd8ce7aebbd503814b5758dfe9b07cba /libnsl
parent2f22f00640b79531879bf21afc9727483934ac65 (diff)
downloaduClibc-alpine-91772298b0377ab805e19085f60a7808fe62d157.tar.bz2
uClibc-alpine-91772298b0377ab805e19085f60a7808fe62d157.tar.xz
Synch with trunk: miscellaneous changes, mostly cleanup,
code styling, comments. No object-code changes. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libnsl')
-rw-r--r--libnsl/Makefile.in7
1 files changed, 1 insertions, 6 deletions
diff --git a/libnsl/Makefile.in b/libnsl/Makefile.in
index 0995b3c4f..03a7703f2 100644
--- a/libnsl/Makefile.in
+++ b/libnsl/Makefile.in
@@ -7,12 +7,7 @@
CFLAGS-libnsl := -DNOT_IN_libc -DIS_IN_libnsl $(SSP_ALL_CFLAGS)
-LDFLAGS-libnsl.so := $(LDFLAGS)
-ifdef ASNEEDED
-ifeq ($(UCLIBC_HAS_SSP),y)
-LDFLAGS-libnsl.so += -Wl,--no-as-needed -lc -Wl,--as-needed
-endif
-endif
+LDFLAGS-libnsl.so := $(LDFLAGS) $(call link.asneeded,-lc)
LIBS-libnsl.so := $(LIBS)