aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/kiss-chroot4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/kiss-chroot b/contrib/kiss-chroot
index c89271a..e391a11 100755
--- a/contrib/kiss-chroot
+++ b/contrib/kiss-chroot
@@ -48,8 +48,8 @@ main() {
SHELL=/bin/sh \
USER=root \
KISS_ASROOT=1 \
- CFLAGS="-march=x86-64 -mtune=generic -pipe -Os" \
- CXXFLAGS="-march=x86-64 -mtune=generic -pipe -Os" \
+ CFLAGS="-march=${2:-x86-64} -mtune=generic -pipe -Os" \
+ CXXFLAGS="-march=${2:-x86-64} -mtune=generic -pipe -Os" \
MAKEFLAGS="-j$(nproc 2>/dev/null || echo 1)" \
/bin/sh -l
}