aboutsummaryrefslogtreecommitdiff
path: root/librt
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-01-22 09:47:09 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-01-22 09:47:09 +0000
commitdb5c5752566147689063340a87531ca4ac626a98 (patch)
treec1dcf4d95d5a3768b9cbf144e499202d9a6123b0 /librt
parentc5edfea211a5bc72002f027f82dba8c9d86c95e8 (diff)
downloaduClibc-db5c5752566147689063340a87531ca4ac626a98.tar.gz
uClibc-db5c5752566147689063340a87531ca4ac626a98.tar.bz2
- also link librt with --as-needed and do so unconditionally to work around
bugs in gentoo's QA. Just add UCLIBC_HAS_SSP to the "and" of link.asneeded to properly take SSP into account, if you prefer.
Diffstat (limited to 'librt')
-rw-r--r--librt/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/librt/Makefile.in b/librt/Makefile.in
index 5c47960d5..1def9003d 100644
--- a/librt/Makefile.in
+++ b/librt/Makefile.in
@@ -7,7 +7,7 @@
CFLAGS-librt := -DNOT_IN_libc -DIS_IN_librt $(SSP_ALL_CFLAGS)
-LDFLAGS-librt.so := $(LDFLAGS)
+LDFLAGS-librt.so := $(LDFLAGS) $(call link.asneeded,-lc)
LIBS-librt.so := $(LIBS)