aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2012-12-26 13:34:55 +0100
committerYann E. MORIN" <yann.morin.1998@free.fr>2012-12-26 13:34:55 +0100
commit8ec9dbbc8df815dc648ef1cbfe3306669d286325 (patch)
tree3a2f733d654145b18c4a23abc2e2cba9b6af129d
parent652906ac5fd06acbb44c0e7e8440d30e7d06ee23 (diff)
downloadcrosstool-ng-8ec9dbbc8df815dc648ef1cbfe3306669d286325.tar.gz
crosstool-ng-8ec9dbbc8df815dc648ef1cbfe3306669d286325.tar.bz2
crosstool-ng-8ec9dbbc8df815dc648ef1cbfe3306669d286325.zip
libc/glibc: always enable obsolete RPC
Since unrecognised ./configure flags are simply ignored, we can always pass --enable-obsolete-rpc. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-rw-r--r--scripts/build/libc/glibc-eglibc.sh-common6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/build/libc/glibc-eglibc.sh-common b/scripts/build/libc/glibc-eglibc.sh-common
index a598beca..39321092 100644
--- a/scripts/build/libc/glibc-eglibc.sh-common
+++ b/scripts/build/libc/glibc-eglibc.sh-common
@@ -214,10 +214,8 @@ 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
+ # 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!)