From a8318facc44efae6a42813d54ff2355338c70f07 Mon Sep 17 00:00:00 2001 From: Johannes Stezenbach Date: Fri, 2 Nov 2012 04:04:04 +0000 Subject: 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 --git a/scripts/build/libc/glibc-eglibc.sh-common b/scripts/build/libc/glibc-eglibc.sh-common index 5871e6a..90392c8 100644 --- a/scripts/build/libc/glibc-eglibc.sh-common +++ b/scripts/build/libc/glibc-eglibc.sh-common @@ -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!) -- cgit v0.10.2-6-g49f6