libc/glibc: install obsolete RPC for both eglibc and glibc

Currently, the obsolete RPC headers are only installed for eglibc,
but glibc has the same /deficiency/, so install the obsolete RPC
for both.

Signed-off-by: Jérôme BARDON <bardon.pro@gmail.com>
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
This commit is contained in:
Jérôme BARDON 2013-03-12 16:10:08 +10:00 committed by David Holsgrove
parent 7275900f9f
commit 7147418c8f

View File

@ -214,8 +214,6 @@ do_libc_backend_once() {
else else
OPTIMIZE=-O2 OPTIMIZE=-O2
fi fi
# always include rpc, the user can still override it with TI-RPC
extra_config+=( --enable-obsolete-rpc )
;; ;;
glibc) glibc)
# glibc can't be built without -O2 (reference needed!) # glibc can't be built without -O2 (reference needed!)
@ -225,6 +223,9 @@ do_libc_backend_once() {
;; ;;
esac esac
# always include rpc, the user can still override it with TI-RPC
extra_config+=( --enable-obsolete-rpc )
# Add some default glibc config options if not given by user. # Add some default glibc config options if not given by user.
# We don't need to be conditional on wether the user did set different # We don't need to be conditional on wether the user did set different
# values, as they CT_LIBC_GLIBC_EXTRA_CONFIG_ARRAY is passed after # values, as they CT_LIBC_GLIBC_EXTRA_CONFIG_ARRAY is passed after