diff options
-rw-r--r-- | scripts/build/libc/glibc-eglibc.sh-common | 4 |
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 5871e6a7..90392c8a 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!) |