- Add cross-bpf packages. See https://gcc.gnu.org/wiki/BPFBackEnd
for the general state of BPF with GCC. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=29
This commit is contained in:
parent
f4d8aa7cc5
commit
e6c9bf9f29
@ -29,4 +29,5 @@
|
||||
<flavor>cross-rx-gcc13</flavor>
|
||||
<flavor>cross-nvptx-gcc13</flavor>
|
||||
<flavor>cross-amdgcn-gcc13</flavor>
|
||||
<flavor>cross-bpf-gcc13</flavor>
|
||||
</multibuild>
|
||||
|
@ -124,6 +124,7 @@ fi
|
||||
# the nvptx and amdgcn crosses are used for offloading
|
||||
add_cross cross-nvptx-gcc$base_ver nvptx nvptx-none %define gcc_accel 1
|
||||
add_cross cross-amdgcn-gcc$base_ver amdgcn amdgcn-amdhsa %define gcc_accel 1
|
||||
add_cross cross-bpf-gcc$base_ver bpf bpf-none
|
||||
|
||||
for f in *.spec; do
|
||||
sed -i -e '/^# .*-\(BEGIN\|END\)$/d' $f
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -24,7 +24,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -74,6 +74,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -82,6 +85,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -568,6 +572,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -881,7 +888,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -897,7 +904,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -927,7 +934,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -947,7 +954,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
1005
cross-bpf-gcc13.spec
Normal file
1005
cross-bpf-gcc13.spec
Normal file
File diff suppressed because it is too large
Load Diff
@ -24,7 +24,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -74,6 +74,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -82,6 +85,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -568,6 +572,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -881,7 +888,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -897,7 +904,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -927,7 +934,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -947,7 +954,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -24,7 +24,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -74,6 +74,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -82,6 +85,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -568,6 +572,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -881,7 +888,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -897,7 +904,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -927,7 +934,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -947,7 +954,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -24,7 +24,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -74,6 +74,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -82,6 +85,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -568,6 +572,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -881,7 +888,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -897,7 +904,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -927,7 +934,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -947,7 +954,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -24,7 +24,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -74,6 +74,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -82,6 +85,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -568,6 +572,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -881,7 +888,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -897,7 +904,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -927,7 +934,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -947,7 +954,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -23,7 +23,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -73,6 +73,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -81,6 +84,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -567,6 +571,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
@ -880,7 +887,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -896,7 +903,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -926,7 +933,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -946,7 +953,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -1,7 +1,7 @@
|
||||
# nospeccleaner
|
||||
|
||||
%define build_cp 0%{!?gcc_accel:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1}
|
||||
%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf"
|
||||
%define build_cp 0
|
||||
%endif
|
||||
%define build_ada 0
|
||||
@ -51,6 +51,9 @@
|
||||
%if "%{binutils_target}" == "arm"
|
||||
%define binutils_os %{canonical_target}-suse-linux-gnueabi
|
||||
%else
|
||||
%if "%{binutils_target}" == "bpf"
|
||||
%define binutils_os %{canonical_target}-none
|
||||
%else
|
||||
%if 0%{?gcc_accel:1}
|
||||
%define binutils_os %{gcc_target_arch}
|
||||
%else
|
||||
@ -59,6 +62,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?gcc_icecream:1}
|
||||
%define sysroot %{_prefix}/%{gcc_target_arch}
|
||||
@ -383,7 +387,7 @@ for ex in gcc cpp \
|
||||
c++ g++ \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib lto-dump \
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
gcov gcov-dump gcov-tool \
|
||||
%endif
|
||||
; do
|
||||
@ -399,7 +403,7 @@ done
|
||||
--slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
%endif
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \
|
||||
--slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \
|
||||
@ -429,7 +433,7 @@ fi
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix}
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix}
|
||||
%{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix}
|
||||
@ -449,7 +453,7 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump
|
||||
%if 0%{!?gcc_libc_bootstrap:1}
|
||||
%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf"
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump
|
||||
%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool
|
||||
|
@ -1583,6 +1583,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
|
@ -774,6 +774,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 21 10:45:33 UTC 2023 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Add cross-bpf packages. See https://gcc.gnu.org/wiki/BPFBackEnd
|
||||
for the general state of BPF with GCC.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 21 08:39:35 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -2591,6 +2591,9 @@ amdgcn-amdhsa,\
|
||||
--without-headers --with-newlib \
|
||||
%endif
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "bpf"
|
||||
--disable-gcov \
|
||||
%endif
|
||||
%if "%{TARGET_ARCH}" == "spu"
|
||||
--with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
|
||||
--with-newlib \
|
||||
|
Loading…
Reference in New Issue
Block a user