From a7192859e7257edf050ea12ec5a71a858b209520 Mon Sep 17 00:00:00 2001 From: merakor Date: Sun, 21 Jun 2020 20:20:10 +0000 Subject: kiss-chroot: use system flags where applicable FossilOrigin-Name: 5e280d22bbf3abc8732f00c28cc996fedaa97f7b9a7af3729cb6051cc70ce368 --- contrib/kiss-chroot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'contrib/kiss-chroot') 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 } } -- cgit v1.2.3