[packages/binutils] - add support for x32

baggins baggins at pld-linux.org
Thu Jan 1 21:41:28 CET 2015


commit 39a256674f830695f2b96ba87db07055b3f54cc2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Jan 1 20:41:15 2015 +0000

    - add support for x32

 binutils.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/binutils.spec b/binutils.spec
index 50a696c..dff0711 100644
--- a/binutils.spec
+++ b/binutils.spec
@@ -9,7 +9,7 @@
 %bcond_without	gasp		# gasp
 %bcond_without	tests
 
-%ifnarch %{ix86} %{x8664}
+%ifnarch %{ix86} %{x8664} x32
 %undefine	with_gold
 %endif
 
@@ -210,6 +210,9 @@ TARGETS=sparc64-linux
 %ifarch %{x8664}
 TARGETS="x86_64-pep"
 %endif
+%ifarch x32
+TARGETS="x86_64-linux,x86_64-pep"
+%endif
 %{?addtargets:TARGETS="%{addtargets}"}
 
 cp -f /usr/share/automake/config.* .
@@ -239,7 +242,7 @@ sparc32 \
 %else
 	%{?with_allarchs:--enable-64-bit-bfd} \
 %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} \
+	%{?with_allarchs:--enable-targets=alpha-linux,arm-linux,cris-linux,hppa-linux,i386-linux,ia64-linux,x86_64-linux,x86_64-linux-gnux32,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_bfd:=default} --enable-ld%{?with_default_bfd:=default} \
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/binutils.git/commitdiff/39a256674f830695f2b96ba87db07055b3f54cc2



More information about the pld-cvs-commit mailing list