make: use local-cc flag instead of manually setting CC

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2022-12-01 14:30:40 +01:00
parent d022bc8c3a
commit 8eb0080e8c

View File

@ -10,10 +10,7 @@ PKG_SITE="https://www.gnu.org/software/make/"
PKG_URL="http://ftpmirror.gnu.org/make/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST=""
PKG_LONGDESC="Utility to maintain groups of programs."
pre_configure_host() {
export CC=${LOCAL_CC}
}
PKG_BUILD_FLAGS="+local-cc"
post_makeinstall_host() {
ln -sf make ${TOOLCHAIN}/bin/gmake