From 8f28f627fd49b26eda94de7d62f77762228b3f23 Mon Sep 17 00:00:00 2001 From: Martin Cracauer Date: Wed, 12 Dec 2018 15:27:56 +0000 Subject: [PATCH] Turn on threads support, mainly for ld.gold. In my tests with llvm this actually worked better than no threads, and threads are turned on in other packaging distributions. Have been using this for a while and it looks like the more tested config upstream. Reviewed-by: bapt (back in June) --- devel/binutils/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile index 2cf7551859a4..2af6861f02af 100644 --- a/devel/binutils/Makefile +++ b/devel/binutils/Makefile @@ -63,7 +63,8 @@ LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= --with-system-zlib \ --with-gmp=${LOCALBASE} \ --with-mpfr=${LOCALBASE} \ - --enable-targets=all + --enable-targets=all \ + --enable-threads=yes INFO= as \ binutils \ gprof \