Index: Mk/bsd.gecko.mk =================================================================== --- Mk/bsd.gecko.mk +++ Mk/bsd.gecko.mk @@ -147,6 +147,11 @@ RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/} .endif +.if defined(WITH_CCACHE_BUILD) +MOZ_OPTIONS+= --with-ccache +BUILD_DEPENDS+= ccache:devel/ccache # XXX host ccache not detected/honoured +.endif + # Standard depends _ALL_DEPENDS= event ffi graphite harfbuzz hunspell icu jpeg nspr nss png pixman sqlite vpx