SHA256
3
0
forked from pool/binutils
Factory Maintainer 2012-06-19 06:02:31 +00:00 committed by Git OBS Bridge
parent 3ecd3bddbb
commit 65b06feb0d
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
Name: cross-i386-binutils
ExcludeArch: %x86
ExcludeArch: %ix86
%define cross 1
%define TARGET i586
BuildRequires: bison

View File

@ -8,7 +8,7 @@ for arch in hppa hppa64 mips arm i386 x86_64 s390 s390x ppc ppc64 ia64 sparc alp
ln -f binutils.changes cross-$arch-binutils.changes
targetarch=`echo $arch | sed -e "s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/"`
exclarch=`echo $arch | sed -e 's/parisc/hppa/;s/i.86/%x86/;s/arm/%arm/'`
exclarch=`echo $arch | sed -e 's/parisc/hppa/;s/i.86/%ix86/;s/arm/%arm/'`
sed -e "s/^Name:.*binutils\$/Name: cross-$arch-binutils\nExcludeArch: $exclarch\n%define cross 1\n%define TARGET $targetarch/;" \
< binutils.spec > cross-$arch-binutils.spec