diff --git a/gcc.spec b/gcc.spec index a045b6b..f84d01c 100644 --- a/gcc.spec +++ b/gcc.spec @@ -116,7 +116,7 @@ Summary: Various compilers (C, C++, Objective-C, ...) Name: gcc Version: %{gcc_version} -Release: %{gcc_release}%{?dist} +Release: %{gcc_release}.1%{?dist} # libgcc, libgfortran, libgomp, libstdc++ and crtstuff have # GCC Runtime Exception. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD @@ -1276,7 +1276,6 @@ then ld_flags="$ld_flags -L%{_builddir}/gcc-%{version}-%{DATE}/obj-%{gcc_target_platform}/libstdc++-v3/libsupc++/.libs" ld_flags="$ld_flags -L%{_builddir}/gcc-%{version}-%{DATE}/obj-%{gcc_target_platform}/%{gcc_target_platform}/libstdc++-v3/libsupc++/.libs" ld_flags="$ld_flags -L%{_builddir}/gcc-%{version}-%{DATE}/obj-%{gcc_target_platform}/%{gcc_target_platform}/libgcc/.libs" - ld_flags="$ld_flags -Wl,-rpath,/usr/%{_lib}" # libtool works with CFLAGS but ignores LDFLAGS, so we have to combine them. comp_flags="$comp_flags $ld_flags" @@ -3257,6 +3256,9 @@ end %{ANNOBIN_GCC_PLUGIN_DIR}/gcc-annobin.so.0.0.0 %changelog +* Mon Jan 31 2022 Marek Polacek 11.2.1-9.1 +- don't set -Wl,-rpath when building annobin (#2047356) + * Fri Jan 28 2022 Marek Polacek 11.2.1-9 - update from releases/gcc-11-branch (#2047296) - PRs fortran/104127, fortran/104212, fortran/104227, target/101529