diff options
-rw-r--r-- | vars/gcc.vars | 3 |
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 \ |