- Bypass cache with --coverage, -fprofile-arcs and -ftest-coverage
(upstream CVS and Matt Fago, #231462).
This commit is contained in:
parent
a9bed005be
commit
e86332ab22
|
@ -0,0 +1,12 @@
|
||||||
|
--- ccache.c~ 2004-09-13 13:38:30.000000000 +0300
|
||||||
|
+++ ccache.c 2007-03-15 12:31:41.000000000 +0200
|
||||||
|
@@ -640,6 +640,9 @@
|
||||||
|
|
||||||
|
/* these are too hard */
|
||||||
|
if (strcmp(argv[i], "-fbranch-probabilities")==0 ||
|
||||||
|
+ strcmp(argv[i], "--coverage") == 0 ||
|
||||||
|
+ strcmp(argv[i], "-fprofile-arcs") == 0 ||
|
||||||
|
+ strcmp(argv[i], "-ftest-coverage") == 0 ||
|
||||||
|
strcmp(argv[i], "-M") == 0 ||
|
||||||
|
strcmp(argv[i], "-MM") == 0 ||
|
||||||
|
strcmp(argv[i], "-x") == 0) {
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
Name: ccache
|
Name: ccache
|
||||||
Version: 2.4
|
Version: 2.4
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: C/C++ compiler cache
|
Summary: C/C++ compiler cache
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
|
@ -11,6 +11,7 @@ License: GPL
|
||||||
URL: http://ccache.samba.org/
|
URL: http://ccache.samba.org/
|
||||||
Source0: http://ccache.samba.org/ftp/ccache/%{name}-%{version}.tar.gz
|
Source0: http://ccache.samba.org/ftp/ccache/%{name}-%{version}.tar.gz
|
||||||
Patch0: %{name}-html-links.patch
|
Patch0: %{name}-html-links.patch
|
||||||
|
Patch1: %{name}-2.4-coverage-231462.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Requires(triggerin): coreutils
|
Requires(triggerin): coreutils
|
||||||
|
@ -26,6 +27,7 @@ a 5 to 10 times speedup in common compilations.
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p0
|
%patch0 -p0
|
||||||
|
%patch1 -p0
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
@ -86,6 +88,10 @@ done
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 15 2007 Ville Skyttä <ville.skytta at iki.fi> - 2.4-8
|
||||||
|
- Bypass cache with --coverage, -fprofile-arcs and -ftest-coverage
|
||||||
|
(upstream CVS and Matt Fago, #231462).
|
||||||
|
|
||||||
* Fri Nov 10 2006 Ville Skyttä <ville.skytta at iki.fi> - 2.4-7
|
* Fri Nov 10 2006 Ville Skyttä <ville.skytta at iki.fi> - 2.4-7
|
||||||
- Require coreutils for triggers (#215030).
|
- Require coreutils for triggers (#215030).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue