OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- if ssp is enabled then make sure that __stack_chk_fail resolves
[uclinux-h8/uClibc.git]
/
libnsl
/
Makefile.in
diff --git
a/libnsl/Makefile.in
b/libnsl/Makefile.in
index
7cf64a6
..
0995b3c
100644
(file)
--- a/
libnsl/Makefile.in
+++ b/
libnsl/Makefile.in
@@
-8,6
+8,11
@@
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
LIBS-libnsl.so := $(LIBS)