summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-03-21 09:09:19 +0100
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-03-21 09:09:19 +0100
commitef5ed9fc79bc41bf4d90e23d01ddee31c10fdb73 (patch)
tree26b02cbbdd2732d2aeabf722f39a8ec52dd15603 /vars
parent0aca86e572cc4d008f6a0575c9d313a3ed87b099 (diff)
downloadmidipix_build-ef5ed9fc79bc41bf4d90e23d01ddee31c10fdb73.tar.bz2
midipix_build-ef5ed9fc79bc41bf4d90e23d01ddee31c10fdb73.tar.xz
vars/gcc.vars: ccache support.
Diffstat (limited to 'vars')
-rw-r--r--vars/gcc.vars3
1 files changed, 2 insertions, 1 deletions
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 \