summaryrefslogtreecommitdiff
path: root/scripts/build/libc/musl.sh
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-11-17 12:13:26 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-11-17 12:13:26 (GMT)
commit3c1d8625e60e31ed073beb247eaf934364a36957 (patch)
tree8685579adaf92a399a3388c7f5ca987937c781ab /scripts/build/libc/musl.sh
parent65fd24fc00b248c6b415a09ebd5c503288f897a1 (diff)
parent6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e (diff)
Merge pull request #268 from bhundven/consistent_usage_of_found_apps
consistency: Use exported variables of required tools
Diffstat (limited to 'scripts/build/libc/musl.sh')
-rw-r--r--scripts/build/libc/musl.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/libc/musl.sh b/scripts/build/libc/musl.sh
index 81a19d7..f8f135c 100644
--- a/scripts/build/libc/musl.sh
+++ b/scripts/build/libc/musl.sh
@@ -84,9 +84,9 @@ do_libc_start_files() {
do_libc_configure
CT_DoLog EXTRA "Installing headers"
- CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" install-headers
+ CT_DoExecLog ALL ${make} DESTDIR="${CT_SYSROOT_DIR}" install-headers
- CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" \
+ CT_DoExecLog ALL ${make} DESTDIR="${CT_SYSROOT_DIR}" \
crt/crt1.o crt/crti.o crt/crtn.o
CT_DoExecLog ALL cp -av crt/crt*.o "${CT_SYSROOT_DIR}/usr/lib"
CT_DoExecLog ALL ${CT_TARGET}-gcc -nostdlib \
@@ -106,10 +106,10 @@ do_libc() {
do_libc_configure
CT_DoLog EXTRA "Building C library"
- CT_DoExecLog ALL make ${JOBSFLAGS}
+ CT_DoExecLog ALL ${make} ${JOBSFLAGS}
CT_DoLog EXTRA "Installing C library"
- CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" install
+ CT_DoExecLog ALL ${make} DESTDIR="${CT_SYSROOT_DIR}" install
CT_EndStep
}