diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-01-22 09:47:09 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-01-22 09:47:09 +0000 |
commit | db5c5752566147689063340a87531ca4ac626a98 (patch) | |
tree | c1dcf4d95d5a3768b9cbf144e499202d9a6123b0 /libresolv | |
parent | c5edfea211a5bc72002f027f82dba8c9d86c95e8 (diff) |
- 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 'libresolv')
-rw-r--r-- | libresolv/Makefile.in | 7 |
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) |