From d38758c33f78cd4a84bab44a155325a35d96a16c Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Thu, 12 Mar 2020 22:11:18 +0000 Subject: kiss-chroot: Set CFLAGS/CXXFLAGS via $2 FossilOrigin-Name: b603aeff3bff3f298153292b945c77e6f72ae4bc88e54973e695234de54f19f5 --- contrib/kiss-chroot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/kiss-chroot b/contrib/kiss-chroot index e391a11..86212db 100755 --- a/contrib/kiss-chroot +++ b/contrib/kiss-chroot @@ -48,8 +48,8 @@ main() { SHELL=/bin/sh \ USER=root \ KISS_ASROOT=1 \ - CFLAGS="-march=${2:-x86-64} -mtune=generic -pipe -Os" \ - CXXFLAGS="-march=${2:-x86-64} -mtune=generic -pipe -Os" \ + CFLAGS="${2:--march=x86-64 -mtune=generic -pipe -Os}" \ + CXXFLAGS="${2:---march=x86-64 -mtune=generic -pipe -Os}" \ MAKEFLAGS="-j$(nproc 2>/dev/null || echo 1)" \ /bin/sh -l } -- cgit v1.2.3