libc/eglibc: enable rpc in eglibc-2.16+

While eglibc-2.16 recommends to use TI-RPC instead of the old sunrpc, the
old one can be included using a configure option. Since the user can still
use TI-RPC to override the libc implementation, we enable rpc unconditionally.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Message-Id: <20121102140404.GA7707@sig21.net>
Patchwork-Id: 196564
This commit is contained in:
Johannes Stezenbach 2012-11-02 04:04:04 +00:00
parent 05a3ceff5a
commit a8318facc4

View File

@ -214,6 +214,10 @@ do_libc_backend_once() {
else
OPTIMIZE=-O2
fi
if [ "${CT_LIBC_EGLIBC_2_16_or_later}" = "y" ]; then
# always include rpc, the user can still override it with TI-RPC
extra_config+=( --enable-obsolete-rpc )
fi
;;
glibc)
# glibc can't be built without -O2 (reference needed!)