1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

packaging(RHEL-CTDB): fix the build when ccache is not found.

Michael
(cherry picked from commit c98fb34ef933944a96a286d2d276cf2adc99e25e)
This commit is contained in:
Michael Adam 2008-12-01 23:03:38 +01:00
parent b486890eb0
commit 7d929d9fa3

View File

@ -133,8 +133,7 @@ cd source
# RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
## check for ccache
ccache -h 2>&1 > /dev/null
if [ $? -eq 0 ]; then
if ccache -h 2>&1 > /dev/null ; then
CC="ccache gcc"
else
CC="gcc"