From 20897203187684775208e36f161199ba04fd0d272c6772d7fd004152ff08e7bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Mon, 30 Jan 2023 12:48:54 +0000 Subject: [PATCH] Accepting request 1062047 from home:marxin:branches:devel:gcc - Pack libgprofng only for supported platforms. OBS-URL: https://build.opensuse.org/request/show/1062047 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=433 --- binutils.changes | 5 +++++ binutils.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/binutils.changes b/binutils.changes index e68f069..59a066f 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 30 09:18:59 UTC 2023 - Martin Liška + +- Pack libgprofng only for supported platforms. + ------------------------------------------------------------------- Fri Jan 27 19:06:39 UTC 2023 - Martin Liška diff --git a/binutils.spec b/binutils.spec index 4504c16..72394e8 100644 --- a/binutils.spec +++ b/binutils.spec @@ -103,11 +103,13 @@ Release: 0 %endif %define target_list aarch64 alpha armv5l armv6l armv7l armv8l avr pru epiphany hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 powerpc64le riscv64 rx s390 s390x sh4 sparc sparc64 x86_64 xtensa -%if %{suse_version} <= 1500 %define build_gprofng 0 -%else + +%if %{suse_version} > 1500 +%ifarch aarch64 %ix86 x86_64 %x86_64 %define build_gprofng 1 %endif +%endif # #