From dcc04cfc5a2a4cf8258175c04250060438561a30 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Thu, 12 Mar 2020 21:58:37 +0000 Subject: kiss-choot: Allow arch to be set via $2 FossilOrigin-Name: 209d3315ca18f66cef9970c44af182b294f9c3b3d0dcf6f46a833c9dd53c840b --- contrib/kiss-chroot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/kiss-chroot') 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 } -- cgit v1.2.3