summaryrefslogtreecommitdiff
path: root/scripts/build/libc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/libc')
-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 367a80d..28a36bd 100644
--- a/scripts/build/libc/glibc-eglibc.sh-common
+++ b/scripts/build/libc/glibc-eglibc.sh-common
@@ -220,8 +220,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!)
@@ -231,6 +229,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