aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/kiss-chroot6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/kiss-chroot b/contrib/kiss-chroot
index 931b9e3..fc0e16c 100755
--- a/contrib/kiss-chroot
+++ b/contrib/kiss-chroot
@@ -58,9 +58,9 @@ main() {
SHELL=/bin/sh \
USER=root \
KISS_ASROOT=1 \
- CFLAGS="${2:--march=$march -mtune=generic -pipe -Os}" \
- CXXFLAGS="${2:--march=$march -mtune=generic -pipe -Os}" \
- MAKEFLAGS="-j$(nproc 2>/dev/null || echo 1)" \
+ CFLAGS="${CFLAGS:--march=$march -mtune=generic -pipe -Os}" \
+ CXXFLAGS="${CXXFLAGS:--march=$march -mtune=generic -pipe -Os}" \
+ MAKEFLAGS="${MAKFLAGS:--j$(nproc 2>/dev/null || echo 1)}" \
/bin/sh -l
}
}