aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rwxr-xr-xcore/busybox/build2
-rwxr-xr-xcore/sbase/build2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/busybox/build b/core/busybox/build
index f8c919ec..a34e5e3c 100755
--- a/core/busybox/build
+++ b/core/busybox/build
@@ -11,7 +11,7 @@ for patch in *.patch; do
done
if [ "$CPT_CROSS_TRIPLET" ]; then
- mk() { make ARCH=${CPT_CROSS_TRIPLET%%-*} CROSS_COMPILE=$CPT_CROSS_TRIPLET- "$@" ;}
+ mk() { make "ARCH=${CPT_CROSS_TRIPLET%%-*}" "CROSS_COMPILE=$CPT_CROSS_TRIPLET-" "$@" ;}
else
mk() { make "$@" ;}
fi
diff --git a/core/sbase/build b/core/sbase/build
index c4f56dc7..437ffb66 100755
--- a/core/sbase/build
+++ b/core/sbase/build
@@ -4,7 +4,7 @@
AR=$CPT_CROSS_TRIPLET-ar \
RANLIB=$CPT_CROSS_TRIPLET-ranlib
-: ${CC:=cc} ${AR:=ar} ${RANLIB:=ranlib}
+: "${CC:=cc}" "${AR:=ar}" "${RANLIB:=ranlib}"
make CC=$CC AR=$AR RANLIB=$RANLIB LDFLAGS="$LDFLAGS -static" sbase-box
make PREFIX=/usr DESTDIR="$1" sbase-box-install