Accepting request 307273 from home:mvyskocil:branches:devel:tools:building

- Add the compat symlinks for gcc/g++ to libdir, so prepending
  libdir to PATH enabled ccache by default

OBS-URL: https://build.opensuse.org/request/show/307273
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ccache?expand=0&rev=37
This commit is contained in:
Dirk Mueller 2015-05-26 08:09:52 +00:00 committed by Git OBS Bridge
parent 9fa00b5fa5
commit 859975cea5
2 changed files with 13 additions and 0 deletions

View File

@ -33,6 +33,12 @@ Fri May 22 07:14:06 UTC 2015 - mpluskal@suse.com
* Fixed build error when compiling ccache with recent clang
versions.
-------------------------------------------------------------------
Fri May 15 10:08:14 UTC 2015 - mvyskocil@opensuse.org
- Add the compat symlinks for gcc/g++ to libdir, so prepending
libdir to PATH enabled ccache by default
-------------------------------------------------------------------
Fri Feb 20 18:12:09 UTC 2015 - mpluskal@suse.com

View File

@ -46,6 +46,12 @@ make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot} %{?_smp_mflags}
# create the compat symlinks into /usr/libdir/ccache
mkdir -p %{buildroot}/%{_libdir}/%{name}
cd %{buildroot}/%{_libdir}/%{name}
ln -sf ../../bin/%{name} gcc
ln -sf ../../bin/%{name} g++
%check
%ifarch i586
# On i586 use only quick minimal testsuite, full one fails
@ -60,5 +66,6 @@ make quicktest %{?_smp_mflags}
%doc AUTHORS.* GPL-3.0.txt LICENSE.* MANUAL.* NEWS.* README.*
%doc %{_mandir}/man1/%{name}.1%{ext_man}
%{_bindir}/%{name}
%{_libdir}/%{name}
%changelog