i9-libreoffice
changed/i9-libreoffice/gcc-toolset-12-annobin-symlink-12.0.0-2.el9
commit
1a46c8777d
@ -0,0 +1,40 @@
|
||||
%global scl_gcc_prefix /opt/rh/gcc-toolset-12/root/usr/lib/gcc
|
||||
%global scl_plugin_prefix %{scl_gcc_prefix}/x86_64-redhat-linux/12/plugin
|
||||
|
||||
Name: gcc-toolset-12-annobin-symlink
|
||||
Version: 12.0.0
|
||||
Release: 2%{?dist}
|
||||
Summary: A symlink gcc-annobin.so to gts-gcc-annobin.so
|
||||
|
||||
License: Beerware
|
||||
URL: http://gcc.gnu.org
|
||||
|
||||
Requires: gcc-toolset-12-gcc-plugin-annobin
|
||||
|
||||
%description
|
||||
Quick and dirty hack for gcc error:
|
||||
cc1: fatal error: inaccessible plugin file /opt/rh/gcc-toolset-12/root/usr/lib/gcc/x86_64-redhat-linux/12/plugin/gcc-annobin.so expanded from short plugin name gcc-annobin: No such file or directory
|
||||
A symlink gcc-annobin.so to gts-gcc-annobin.so fixes the issue
|
||||
|
||||
|
||||
%install
|
||||
install -d %{buildroot}%{scl_plugin_prefix}
|
||||
ln -svf gts-annobin.so %{buildroot}%{scl_plugin_prefix}/annobin.so
|
||||
ln -svf gts-gcc-annobin.so %{buildroot}%{scl_plugin_prefix}/gcc-annobin.so
|
||||
|
||||
|
||||
%files
|
||||
%{scl_plugin_prefix}/annobin.so
|
||||
%{scl_plugin_prefix}/gcc-annobin.so
|
||||
|
||||
%changelog
|
||||
* Sat May 11 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 12.0.0-2
|
||||
- Rebuilt for MSVSphere 9.4
|
||||
|
||||
* Fri Feb 16 2024 Sandino Araico Sánchez <sandino@sandino.net>
|
||||
- Liga simbólica también para annobin.so
|
||||
|
||||
* Thu Jan 18 2024 Sandino Araico Sánchez <sandino@sandino.net>
|
||||
- Liga simbólica para que jale esta chingadera
|
||||
- cd /opt/rh/gcc-toolset-12/root/usr/lib/gcc/x86_64-redhat-linux/12/plugin
|
||||
- ln -svf gts-gcc-annobin.so gcc-annobin.so
|
Loading…
Reference in new issue