summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 8d7a8d5a..871fbda4 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -19,6 +19,10 @@
%define __provides_exclude_from %{python_sitearch}/.*\.so$
%endif
+%if (0%{?fedora} >= 17)
+ %global with_ccache --with-default-ccache-dir='/run/user/%U' --with-default-ccname-template="DIR:%d/ccdir"
+%endif
+
%global enable_experimental 1
%if (0%{?enable_experimental} == 1)
@@ -233,6 +237,7 @@ autoreconf -ivf
--disable-static \
--disable-rpath \
%{with_unicode_lib} \
+ %{with_ccache} \
%{experimental}
make %{?_smp_mflags} all