commit 4cbe2cb42e76f2cd3ea29fe4ff0de0090df7d8ac parent e9291d6d0399fbe1365171c12500eb60248f7a08 Author: Dylan Araps <dylan.araps@gmail.com> Date: Fri, 13 Mar 2020 00:11:18 +0200 kiss-chroot: Set CFLAGS/CXXFLAGS via $2 Diffstat:
M | contrib/kiss-chroot | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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 }