From ef5ed9fc79bc41bf4d90e23d01ddee31c10fdb73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=ADa=20Andrea=20Illanes=20Albornoz?= Date: Tue, 21 Mar 2023 09:09:19 +0100 Subject: vars/gcc.vars: ccache support. --- vars/gcc.vars | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vars') diff --git a/vars/gcc.vars b/vars/gcc.vars index 77dff2db..fc7c4062 100644 --- a/vars/gcc.vars +++ b/vars/gcc.vars @@ -19,7 +19,8 @@ pkgp_gcc_configure() { if ! rtl_fileop rm "${PKG_BASE_DIR}/${PKG_BUILD_DIR}" \ || ! rtl_fileop mkdir "${PKG_BASE_DIR}/${PKG_BUILD_DIR}" \ || ! rtl_fileop cd "${PKG_BASE_DIR}/${PKG_BUILD_DIR}" \ - || ! "../cbb-gcc-${PKG_VERSION}/configure" "${@}" \ + || ! CC="${PKG_CC}" CXX="${PKG_CXX}" \ + "../cbb-gcc-${PKG_VERSION}/configure" "${@}" \ --disable-bootstrap \ --disable-libmudflap \ --disable-multilib \ -- cgit v1.2.3