summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme BARDON <bardon.pro@gmail.com>2013-03-12 06:10:08 (GMT)
committerDavid Holsgrove <david.holsgrove@xilinx.com>2014-12-15 04:48:33 (GMT)
commit7147418c8fef031e665c8f79a17b6d451927c98c (patch)
tree638fcb73a5b51952e81e41cf96fd1add57ecc53c
parent7275900f9ffce61fabc90e0ff870fec175976ffb (diff)
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>
-rw-r--r--scripts/build/libc/glibc-eglibc.sh-common5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build/libc/glibc-eglibc.sh-common b/scripts/build/libc/glibc-eglibc.sh-common
index af3b1f1..3e1b14c 100644
--- a/scripts/build/libc/glibc-eglibc.sh-common
+++ b/scripts/build/libc/glibc-eglibc.sh-common
@@ -214,8 +214,6 @@ do_libc_backend_once() {
else
OPTIMIZE=-O2
fi
- # always include rpc, the user can still override it with TI-RPC
- extra_config+=( --enable-obsolete-rpc )
;;
glibc)
# glibc can't be built without -O2 (reference needed!)
@@ -225,6 +223,9 @@ do_libc_backend_once() {
;;
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.
# 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