kiss-chroot: Set CFLAGS/CXXFLAGS via $2

This commit is contained in:
Dylan Araps 2020-03-13 00:11:18 +02:00
parent e9291d6d03
commit 4cbe2cb42e
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -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
}