cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit d36eb1f49c89ca50f47780335bf1260f16ce2d18
parent 86d9238feae429e3dd4004da379c3518c4e4729b
Author: Cem Keylan <cem@ckyln.com>
Date:   Sun, 21 Jun 2020 23:20:10 +0300

kiss-chroot: use system flags where applicable

Diffstat:
Mcontrib/kiss-chroot | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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 } }