summaryrefslogtreecommitdiff
path: root/scripts/build/libc/glibc-eglibc.sh-common
diff options
context:
space:
mode:
authorJohannes Stezenbach <js@sig21.net>2012-11-02 04:04:04 (GMT)
committerJohannes Stezenbach <js@sig21.net>2012-11-02 04:04:04 (GMT)
commita8318facc44efae6a42813d54ff2355338c70f07 (patch)
treee2fc26a6dab32917170a8be4c7e7a59f3315b0d7 /scripts/build/libc/glibc-eglibc.sh-common
parent05a3ceff5a3f9d067aecad0f3e781ccb47ffce95 (diff)
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
Diffstat (limited to 'scripts/build/libc/glibc-eglibc.sh-common')
-rw-r--r--scripts/build/libc/glibc-eglibc.sh-common4
1 files changed, 4 insertions, 0 deletions
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!)