From 628b8909d762527b0a3cf65c0eb10cd819fbd0d6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:37:51 +0100 Subject: [PATCH] install libiberty.a with pic support [release 9.2.0-4mamba;Sat Feb 29 2020] --- gcc.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc.spec b/gcc.spec index 8ea2540..967017c 100644 --- a/gcc.spec +++ b/gcc.spec @@ -40,7 +40,7 @@ Name: gcc Version: 9.2.0 -Release: 3mamba +Release: 4mamba Summary: GNU Compiler Collection (C, C++, Fortran, Go, Ada) Group: Applications/Development Vendor: openmamba @@ -781,6 +781,8 @@ cd ../%{name}-build-%{_target_platform} make DESTDIR=%{buildroot} install %if "%{_target_platform}" == "%{_host}" +install -m644 libiberty/pic/libiberty.a %{buildroot}%{_libdir}/libiberty.a + # make target platform binaries symlinks to avoid binary duplicates for p in gcc-%{version} gcc gcc-ar gcc-nm gcc-ranlib c++ g++ gfortran; do rm -f %{buildroot}%{_bindir}/%{_target_platform}-$p @@ -1462,6 +1464,9 @@ rm -f %{buildroot}%{_infodir}/libffi.info* %endif # cross-platform %changelog +* Sat Feb 29 2020 Silvan Calarco 9.2.0-4mamba +- install libiberty.a with pic support + * Thu Dec 05 2019 Silvan Calarco 9.2.0-3mamba - added add and d languages; added --enable-cet=auto and more options