From 6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Tue, 17 Nov 2015 02:48:09 -0800 Subject: consistency: Use exported variables of required tools We check for apps: * make * sed * grep * awk * libtool/libtoolize * install * patch * and more ...during configure. Our scripts should be consistent about using the variables that define where the found tool was found. Of course, we do hard-link these tools in buildtools, but that should be a backup for the components we are building. Our scripts should always use the tools we find. Signed-off-by: Bryan Hundven --- scripts/build/libc/mingw.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/build/libc/mingw.sh') diff --git a/scripts/build/libc/mingw.sh b/scripts/build/libc/mingw.sh index 19289dea..964a11d9 100644 --- a/scripts/build/libc/mingw.sh +++ b/scripts/build/libc/mingw.sh @@ -59,10 +59,10 @@ do_libc_start_files() { "${sdk_opts[@]}" CT_DoLog EXTRA "Compile Headers" - CT_DoExecLog ALL make + CT_DoExecLog ALL ${make} CT_DoLog EXTRA "Installing Headers" - CT_DoExecLog ALL make install DESTDIR=${CT_SYSROOT_DIR} + CT_DoExecLog ALL ${make} install DESTDIR=${CT_SYSROOT_DIR} CT_Popd @@ -108,10 +108,10 @@ do_libc() { # parallel build. See https://github.com/crosstool-ng/crosstool-ng/issues/246 # Do not pass ${JOBSFLAGS} - build serially. CT_DoLog EXTRA "Building mingw-w64-crt" - CT_DoExecLog ALL make + CT_DoExecLog ALL ${make} CT_DoLog EXTRA "Installing mingw-w64-crt" - CT_DoExecLog ALL make install DESTDIR=${CT_SYSROOT_DIR} + CT_DoExecLog ALL ${make} install DESTDIR=${CT_SYSROOT_DIR} CT_EndStep } -- cgit v1.2.3