From 8a952d18e0f650829b60be72f051cadf0fc9e247 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 2 Jan 2011 13:52:16 +0100 Subject: binutils/binutils: add support for threaded gold When configured with support for threads, gold can link in parallel, possibly cooperating with a make jobserver. Add an option enabling threads. Signed-off-by: "Yann E. MORIN" --- scripts/build/binutils/binutils.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/build') diff --git a/scripts/build/binutils/binutils.sh b/scripts/build/binutils/binutils.sh index 1a7e33ca..f784dcd1 100644 --- a/scripts/build/binutils/binutils.sh +++ b/scripts/build/binutils/binutils.sh @@ -42,6 +42,9 @@ do_binutils() { extra_config+=( --enable-ld=yes --enable-gold=default ) ;; esac + if [ "${CT_BINUTILS_GOLD_THREADED}" = "y" ]; then + extra_config+=( --enable-threads ) + fi fi if [ "${CT_BINUTILS_PLUGINS}" = "y" ]; then extra_config+=( --enable-plugins ) -- cgit v1.2.3