From df7fa9acbaaa6414fb3e822e964e1f713d3facdb Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 24 Sep 2024 14:39:43 +0000 Subject: automatic import of openEuler-rpm-config --- macros | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros') diff --git a/macros b/macros index 887b846..0e1c3b9 100644 --- a/macros +++ b/macros @@ -177,7 +177,7 @@ %configure \ %{set_build_flags}; \ [ "%{_lto_cflags}"x != x ] && %{_fix_broken_configure_for_lto}; \ - [ "%{?ld_as_needed:%{__fix_libtool_from_moving_options_after_libs}} ; \ + %{?_ld_as_needed:%{__fix_libtool_from_moving_options_after_libs} ;} \ [ "%_configure_gnuconfig_hack" = 1 ] && for i in $(find $(dirname %{_configure}) -name config.guess -o -name config.sub) ; do \ [ -f /usr/lib/rpm/%{_vendor}/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/lib/rpm/%{_vendor}/$(basename $i) $i ; \ done ; \ -- cgit v1.2.3