kiss-choot: Allow arch to be set via $2

This commit is contained in:
Dylan Araps 2020-03-12 23:58:38 +02:00
parent ba59821bb8
commit e9291d6d03
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ main() {
SHELL=/bin/sh \
USER=root \
KISS_ASROOT=1 \
CFLAGS="-march=x86-64 -mtune=generic -pipe -Os" \
CXXFLAGS="-march=x86-64 -mtune=generic -pipe -Os" \
CFLAGS="-march=${2:-x86-64} -mtune=generic -pipe -Os" \
CXXFLAGS="-march=${2:-x86-64} -mtune=generic -pipe -Os" \
MAKEFLAGS="-j$(nproc 2>/dev/null || echo 1)" \
/bin/sh -l
}