From 273a6e3e21b0edabf0c0a2f4aae7d097e4eab35c Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Sat, 5 May 2018 07:56:15 +0200 Subject: [PATCH] libcc1.so* are now installed in /usr/lib/../lib64/lp64d by default Signed-off-by: David Abdurachmanov --- gcc.spec | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/gcc.spec b/gcc.spec index a01f107..ace1f44 100644 --- a/gcc.spec +++ b/gcc.spec @@ -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 8.1.1-1.1.riscv64 +- libcc1.so* are now installed in /usr/lib/../lib64/lp64d by default + * Fri May 4 2018 David Abdurachmanov 8.1.1-1.0.riscv64 - Add support for riscv64