forked from pool/binutils
- Enable bpf-none cross target and add bpf-none to the multitarget
set of supported targets. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=439
This commit is contained in:
parent
c1f5f1a167
commit
6e3ed92d9c
@ -22,4 +22,5 @@
|
||||
<flavor>rx</flavor>
|
||||
<flavor>riscv64</flavor>
|
||||
<flavor>xtensa</flavor>
|
||||
<flavor>bpf</flavor>
|
||||
</multibuild>
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 16 14:18:53 UTC 2023 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Enable bpf-none cross target and add bpf-none to the multitarget
|
||||
set of supported targets.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 8 15:31:09 UTC 2023 - Michael Matz <matz@suse.com>
|
||||
|
||||
|
@ -304,7 +304,7 @@ RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf,x86_64-pep"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf,x86_64-pep,bpf-none"
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -444,10 +444,14 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "arm"
|
||||
%define TARGET_OS %{TARGET}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{TARGET}" == "bpf"
|
||||
%define TARGET_OS %{TARGET}-none
|
||||
%else
|
||||
%define TARGET_OS %{TARGET}-suse-linux
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
../configure CFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} \
|
||||
--with-bugurl=https://bugs.opensuse.org/ \
|
||||
|
Loading…
Reference in New Issue
Block a user