From: Christian Marangi Date: Fri, 2 Dec 2022 19:13:06 +0000 (+0100) Subject: tools/mpc: use STAGING_DIR_HOST instead of hardcoding default X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e854dcaef37cdb59109448889e9da9358591748a;p=openwrt%2Fstaging%2Fjow.git tools/mpc: use STAGING_DIR_HOST instead of hardcoding default Use STAGING_DIR_HOST to reference the staging dir for host tools instead of hardcoding it to the default location. Signed-off-by: Christian Marangi --- diff --git a/tools/mpc/Makefile b/tools/mpc/Makefile index 5c196a27ef..97e94291cb 100644 --- a/tools/mpc/Makefile +++ b/tools/mpc/Makefile @@ -22,8 +22,8 @@ unexport CFLAGS HOST_CONFIGURE_ARGS += \ --enable-static \ --disable-shared \ - --with-mpfr=$(TOPDIR)/staging_dir/host \ - --with-gmp=$(TOPDIR)/staging_dir/host + --with-mpfr=$(STAGING_DIR_HOST) \ + --with-gmp=$(STAGING_DIR_HOST) define Host/Uninstall -$(call Host/Compile/Default,uninstall)