mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
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:
parent
05a3ceff5a
commit
a8318facc4
@ -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!)
|
||||
|
Loading…
x
Reference in New Issue
Block a user