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:
David Abdurachmanov 2018-05-05 07:56:15 +02:00
parent b840e5963d
commit 273a6e3e21
1 changed files with 4 additions and 8 deletions

View File

@ -94,7 +94,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
Release: %{gcc_release}.0.riscv64%{?dist}
Release: %{gcc_release}.1.riscv64%{?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
@ -1219,13 +1219,6 @@ gzip -9 %{buildroot}%{_infodir}/*.info*
ln -sf gcc %{buildroot}%{_prefix}/bin/gnatgcc
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}
mv %{buildroot}%{_prefix}/bin/go{,.gcc}
mv %{buildroot}%{_prefix}/bin/gofmt{,.gcc}
@ -3135,6 +3128,9 @@ fi
%endif
%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
- Add support for riscv64