summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorOtto Kekäläinen <otto@mariadb.org>2016-10-09 13:42:36 +0300
committerOtto Kekäläinen <otto@mariadb.org>2016-10-09 13:42:36 +0300
commitc416ed8b46e9129baff961c5fb2b155f5def7c57 (patch)
tree83df9e022284915a89eb3ac4101dffdb6a8d8850 /debian/rules
parent0331df13fa2eb938f411a148614b9045d317ab05 (diff)
downloadmariadb-git-c416ed8b46e9129baff961c5fb2b155f5def7c57.tar.gz
Deb: build faster using ccache when available
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 2591e0070a4..ff8c68c69cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,7 +59,7 @@ ifneq ($(ARCH_OS),hurd)
endif
( test -d $(builddir) || mkdir $(builddir) ) && cd $(builddir) && \
- sh -c 'PATH=$${MYSQL_BUILD_PATH:-"/usr/local/bin:/usr/bin:/bin"} \
+ sh -c 'PATH=$${MYSQL_BUILD_PATH:-"/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin"} \
CC=$${MYSQL_BUILD_CC:-gcc} \
CFLAGS=$${MYSQL_BUILD_CFLAGS:-"-O2 -fno-omit-frame-pointer -g -pipe -Wall -Wno-uninitialized"} \
CXX=$${MYSQL_BUILD_CXX:-g++} \