libc/eglibc: enable rpc in eglibc-2.16+
authorJohannes Stezenbach <js@sig21.net>
Fri Nov 02 04:04:04 2012 +0000 (2012-11-02)
changeset 310275c2df0f7a12
parent 3101 340bad0ab841
child 3103 a8bf927f6e37
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
scripts/build/libc/glibc-eglibc.sh-common
     1.1 --- a/scripts/build/libc/glibc-eglibc.sh-common	Wed Nov 07 21:55:42 2012 +0100
     1.2 +++ b/scripts/build/libc/glibc-eglibc.sh-common	Fri Nov 02 04:04:04 2012 +0000
     1.3 @@ -214,6 +214,10 @@
     1.4              else
     1.5                  OPTIMIZE=-O2
     1.6              fi
     1.7 +            if [ "${CT_LIBC_EGLIBC_2_16_or_later}" = "y" ]; then
     1.8 +                # always include rpc, the user can still override it with TI-RPC
     1.9 +                extra_config+=( --enable-obsolete-rpc )
    1.10 +            fi
    1.11              ;;
    1.12          glibc)
    1.13              # glibc can't be built without -O2 (reference needed!)