[packages/binutils] - back to bfd, it's more pain than gain (gcc/gcj got hit now :/), let's just use gold on as-needed

baggins baggins at pld-linux.org
Tue Jun 4 00:03:10 CEST 2013


commit 93de8f986becc4ef0ce87376bf2e832db59c5090
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Jun 4 00:01:21 2013 +0200

    - back to bfd, it's more pain than gain (gcc/gcj got hit now :/),
      let's just use gold on as-needed basis (like in gtk-webkit3
      where bfd needs 8GB RAM for linker process alone)
    - rel 2

 binutils.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/binutils.spec b/binutils.spec
index 682041b..b95c5de 100644
--- a/binutils.spec
+++ b/binutils.spec
@@ -5,7 +5,7 @@
 				# http://sourceware.org/ml/binutils/2008-03/msg00162.html
 %bcond_without	pax		# without PaX flags (for upstream bugreports)
 %bcond_without	gold		# don't build gold (no C++ dependencies)
-%bcond_with	default_ld	# default ld instead of gold
+%bcond_without	default_bfd	# default ld.bfd instead of gold
 %bcond_without	tests
 
 %ifnarch %{ix86} %{x8664}
@@ -23,7 +23,7 @@ Summary(tr.UTF-8):	GNU geliştirme araçları
 Summary(uk.UTF-8):	Набір інструментів GNU для побудови виконуваних програм
 Name:		binutils
 Version:	2.23.52.0.2
-Release:	1
+Release:	2
 Epoch:		3
 License:	GPL v3+
 Group:		Development/Tools
@@ -236,7 +236,7 @@ sparc32 \
 %endif
 	%{?with_allarchs:--enable-targets=alpha-linux,arm-linux,cris-linux,hppa-linux,i386-linux,ia64-linux,x86_64-linux,m68k-linux,mips-linux,mips64-linux,mips64el-linux,mipsel-linux,ppc-linux,s390-linux,s390x-linux,sh-linux,sparc-linux,sparc64-linux,i386-linuxaout,x86_64-pep} \
 %if %{with gold}
-	--enable-gold%{!?with_default_ld:=default} --enable-ld%{?with_default_ld:=default} \
+	--enable-gold%{!?with_default_bfd:=default} --enable-ld%{?with_default_bfd:=default} \
 %endif
 
 %{__make} -j1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/binutils.git/commitdiff/93de8f986becc4ef0ce87376bf2e832db59c5090



More information about the pld-cvs-commit mailing list