# HG changeset patch # User Johannes Stezenbach # Date 1351829044 0 # Node ID 75c2df0f7a12f4e6f97f0a989f9cf7c932fd4551 # Parent 340bad0ab8414b72705922970bc5ccf0682783dd 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 Message-Id: <20121102140404.GA7707@sig21.net> Patchwork-Id: 196564 diff -r 340bad0ab841 -r 75c2df0f7a12 scripts/build/libc/glibc-eglibc.sh-common --- a/scripts/build/libc/glibc-eglibc.sh-common Wed Nov 07 21:55:42 2012 +0100 +++ b/scripts/build/libc/glibc-eglibc.sh-common Fri Nov 02 04:04:04 2012 +0000 @@ -214,6 +214,10 @@ 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!)