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)
This commit is contained in:
Martin Cracauer 2018-12-12 15:27:56 +00:00
parent 8865750a3e
commit 8f28f627fd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487299

View file

@ -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 \