From e38efdf9191f89bd67e9a9e886f464020e009af7 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 23 Dec 2024 12:56:07 +0100 Subject: [PATCH] openmamba/macros: fix calling brp-strip-lto --- openmamba/macros | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openmamba/macros b/openmamba/macros index e3eb960..8e655fe 100644 --- a/openmamba/macros +++ b/openmamba/macros @@ -118,7 +118,7 @@ # convert all '-' in basename to '_', add two leading underscores. %__brp_compress %{_rpmconfigdir}/brp-compress %{?_prefix} %__brp_strip %{_rpmconfigdir}/brp-strip %{__strip} -%__brp_strip_lto /usr/lib/rpm/openmamba/brp-strip-lto %{__strip} +%__brp_strip_lto %{_rpmconfigdir}/openmamba/brp-strip-lto %{__strip} %__brp_strip_comment_note %{_rpmconfigdir}/brp-strip-comment-note %{__strip} %{__objdump} %__brp_strip_static_archive %{_rpmconfigdir}/brp-strip-static-archive %{__strip} %__brp_elfperms %{_rpmconfigdir}/brp-elfperms @@ -128,6 +128,7 @@ %{?__brp_compress} \ %{?__brp_elfperms} \ %{?__brp_strip} \ + %{?__brp_strip_lto} \ %{?__brp_strip_static_archive} \ %{?__brp_strip_comment_note} \ %{?__brp_remove_la_files} \