libcc1.so* are now installed in /usr/lib/../lib64/lp64d by default
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
b840e5963d
commit
273a6e3e21
12
gcc.spec
12
gcc.spec
|
@ -94,7 +94,7 @@
|
||||||
Summary: Various compilers (C, C++, Objective-C, ...)
|
Summary: Various compilers (C, C++, Objective-C, ...)
|
||||||
Name: gcc
|
Name: gcc
|
||||||
Version: %{gcc_version}
|
Version: %{gcc_version}
|
||||||
Release: %{gcc_release}.0.riscv64%{?dist}
|
Release: %{gcc_release}.1.riscv64%{?dist}
|
||||||
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
|
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
|
||||||
# GCC Runtime Exception.
|
# GCC Runtime Exception.
|
||||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
|
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
|
||||||
|
@ -1219,13 +1219,6 @@ gzip -9 %{buildroot}%{_infodir}/*.info*
|
||||||
ln -sf gcc %{buildroot}%{_prefix}/bin/gnatgcc
|
ln -sf gcc %{buildroot}%{_prefix}/bin/gnatgcc
|
||||||
mkdir -p %{buildroot}%{_fmoddir}
|
mkdir -p %{buildroot}%{_fmoddir}
|
||||||
|
|
||||||
# libcc1.so is ELF 64-bit binary thus we move it to _libdir
|
|
||||||
# It's only used by GDB for on-demand compilation and code injection support
|
|
||||||
# GDB will use dlopen() to load libcc1.so
|
|
||||||
%ifarch riscv64
|
|
||||||
mv %{buildroot}%{_prefix}/lib/libcc1.so* %{buildroot}%{_libdir}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{build_go}
|
%if %{build_go}
|
||||||
mv %{buildroot}%{_prefix}/bin/go{,.gcc}
|
mv %{buildroot}%{_prefix}/bin/go{,.gcc}
|
||||||
mv %{buildroot}%{_prefix}/bin/gofmt{,.gcc}
|
mv %{buildroot}%{_prefix}/bin/gofmt{,.gcc}
|
||||||
|
@ -3135,6 +3128,9 @@ fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 5 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> 8.1.1-1.1.riscv64
|
||||||
|
- libcc1.so* are now installed in /usr/lib/../lib64/lp64d by default
|
||||||
|
|
||||||
* Fri May 4 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> 8.1.1-1.0.riscv64
|
* Fri May 4 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> 8.1.1-1.0.riscv64
|
||||||
- Add support for riscv64
|
- Add support for riscv64
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue