gcc-multilib: add /usr/lib32 to ldconfig paths [release 12.2.0-2mamba;Thu Sep 29 2022]
This commit is contained in:
parent
ce8c46658d
commit
1c54db45b9
11
gcc.spec
11
gcc.spec
@ -40,7 +40,7 @@
|
||||
|
||||
Name: gcc
|
||||
Version: 12.2.0
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: GNU Compiler Collection (C, C++, Fortran, Go, Ada)
|
||||
Group: Applications/Development
|
||||
Vendor: openmamba
|
||||
@ -853,6 +853,11 @@ mv %{buildroot}%{_libdir}/libstdc++.so.*-gdb.py %{buildroot}%{_datadir}/gdb/auto
|
||||
# fix for 32bit multilib build
|
||||
mkdir -p %{buildroot}%{_datadir}/gdb/auto-load/%{_prefix}/lib32
|
||||
mv %{buildroot}%{_prefix}/lib32/libstdc++.so.*-gdb.py %{buildroot}%{_datadir}/gdb/auto-load/%{_prefix}/lib32/
|
||||
# set /usr/lib32 for ldconfig
|
||||
install -d -m0755 %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||
cat > %{buildroot}%{_sysconfdir}/ld.so.conf.d/lib32-gcc.conf << EOF
|
||||
/usr/lib32
|
||||
EOF
|
||||
%endif
|
||||
|
||||
(cd ../gcc-%{version}%{?gcc_extraver}
|
||||
@ -1335,6 +1340,7 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%ifarch x86_64
|
||||
%files -n gcc-multilib
|
||||
%defattr(-,root,root)
|
||||
%{_sysconfdir}/ld.so.conf.d/lib32-gcc.conf
|
||||
%dir %{_libdir}/gcc/%{_target_platform}/%{version}/32
|
||||
%{_libdir}/gcc/%{_target_platform}/%{version}/32/*
|
||||
%{_prefix}/lib32/libgcc_s.so
|
||||
@ -1455,6 +1461,9 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Sep 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 12.2.0-2mamba
|
||||
- gcc-multilib: add /usr/lib32 to ldconfig paths
|
||||
|
||||
* Sun Aug 21 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 12.2.0-1mamba
|
||||
- update to 12.2.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user