grr
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=97
This commit is contained in:
parent
3ecd3bddbb
commit
65b06feb0d
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cross-i386-binutils
|
Name: cross-i386-binutils
|
||||||
ExcludeArch: %x86
|
ExcludeArch: %ix86
|
||||||
%define cross 1
|
%define cross 1
|
||||||
%define TARGET i586
|
%define TARGET i586
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
|
@ -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
|
ln -f binutils.changes cross-$arch-binutils.changes
|
||||||
targetarch=`echo $arch | sed -e "s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/"`
|
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/;" \
|
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
|
< binutils.spec > cross-$arch-binutils.spec
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user