SHA256
1
0
forked from pool/ccache

Accepting request 423096 from home:scarabeus_iv:branches:devel:tools:building

- Version update to 3.2.7:
  - Fixed build problem on QNX, which lacks ``SA_RESTART''.
  - Bail out on compiler option `-fstack-usage` since it creates a `.su` file
    which ccache currently doesn't handle.
  - Fixed a bug where (due to ccache rewriting paths) the compiler could choose
    incorrect include files if `CCACHE_BASEDIR` is used and the source file path
    is absolute and is a symlink.
  - Fixed a bug which could lead to false cache hits for compiler command lines
    with a missing argument to an option that takes an argument.
  - ccache now knows how to work around a glitch in the output of GCC 6's
    preprocessor.

- Create basic symlinks for clang and regular cc calls for ccache
  * this makes it easier to use ccache with osc build

OBS-URL: https://build.opensuse.org/request/show/423096
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ccache?expand=0&rev=47
This commit is contained in:
Martin Pluskal
2016-08-26 14:23:03 +00:00
committed by Git OBS Bridge
parent afd86ca06f
commit bab913c5c2
6 changed files with 48 additions and 21 deletions

View File

@@ -17,7 +17,7 @@
Name: ccache
Version: 3.2.5
Version: 3.2.7
Release: 0
Summary: A Fast C/C++ Compiler Cache
License: GPL-3.0+
@@ -51,6 +51,12 @@ mkdir -p %{buildroot}/%{_libdir}/%{name}
cd %{buildroot}/%{_libdir}/%{name}
ln -sf ../../bin/%{name} gcc
ln -sf ../../bin/%{name} g++
# do the same for clang
ln -sf ../../bin/%{name} clang
ln -sf ../../bin/%{name} clang++
# and regular cc
ln -sf ../../bin/%{name} cc
ln -sf ../../bin/%{name} c++
%files
%defattr(-,root,root,-)