1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

packaging(RPM): detect and use ccache if available

Michael

(This used to be ctdb commit c412c9e2d69a3f07e195259f6ad5767fa8160a94)
This commit is contained in:
Michael Adam 2009-01-19 14:46:30 +01:00
parent 86ee3ca5d0
commit 7e85009724

View File

@ -34,7 +34,14 @@ ctdb is the clustered database used by samba
%build
CC="gcc"
## check for ccache
if ccache -h >/dev/null 2>&1 ; then
CC="ccache gcc"
else
CC="gcc"
fi
export CC
## always run autogen.sh
./autogen.sh