diff --git a/packages/devel/ccache/package.mk b/packages/devel/ccache/package.mk index 7ed5c185ec..e9a5b32282 100644 --- a/packages/devel/ccache/package.mk +++ b/packages/devel/ccache/package.mk @@ -10,14 +10,10 @@ PKG_SITE="https://ccache.dev/download.html" PKG_URL="https://github.com/ccache/ccache/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.xz" PKG_DEPENDS_HOST="make:host" PKG_LONGDESC="A compiler cache to speed up re-compilation of C/C++ code by caching." +PKG_BUILD_FLAGS="+local-cc" PKG_CONFIGURE_OPTS_HOST="--with-bundled-zlib" -pre_configure_host() { - export CC=${LOCAL_CC} - export CXX=${LOCAL_CXX} -} - post_makeinstall_host() { # setup ccache if [ -z "${CCACHE_DISABLE}" ]; then @@ -26,14 +22,14 @@ post_makeinstall_host() { cat > ${TOOLCHAIN}/bin/host-gcc < ${TOOLCHAIN}/bin/host-g++ <