SHA256
1
0
forked from pool/binutils

- Add cross-ppc64le-binutils.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=148
This commit is contained in:
2013-11-29 15:17:31 +00:00
committed by Git OBS Bridge
parent 9ce9c76bd2
commit 250ce9d40f
39 changed files with 3093 additions and 73 deletions

View File

@@ -61,12 +61,12 @@ Release: 0
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64
%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 ppc64le s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list aarch64 alpha armv5l armv6l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64
%define target_list aarch64 alpha armv5l armv6l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 powerpc64le s390 s390x sh4 sparc sparc64 x86_64
#
#
#
@@ -118,7 +118,7 @@ Requires: binutils = %{version}-%{release}
PreReq: update-alternatives
%if 0%{suse_version} > 1100
%if 0%{!?cross:1}
%define gold_archs %ix86 %arm x86_64 ppc ppc64 %sparc
%define gold_archs %ix86 %arm x86_64 ppc ppc64 ppc64le %sparc
%endif
%endif
@@ -201,7 +201,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,s390-suse-linux"
%ifarch %ix86
EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%endif
%ifarch ppc ppc64
%ifarch ppc ppc64 ppc64le
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch %arm