mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 16:10:05 -07:00
kiss-choot: Allow arch to be set via $2
This commit is contained in:
parent
ba59821bb8
commit
e9291d6d03
@ -48,8 +48,8 @@ main() {
|
|||||||
SHELL=/bin/sh \
|
SHELL=/bin/sh \
|
||||||
USER=root \
|
USER=root \
|
||||||
KISS_ASROOT=1 \
|
KISS_ASROOT=1 \
|
||||||
CFLAGS="-march=x86-64 -mtune=generic -pipe -Os" \
|
CFLAGS="-march=${2:-x86-64} -mtune=generic -pipe -Os" \
|
||||||
CXXFLAGS="-march=x86-64 -mtune=generic -pipe -Os" \
|
CXXFLAGS="-march=${2:-x86-64} -mtune=generic -pipe -Os" \
|
||||||
MAKEFLAGS="-j$(nproc 2>/dev/null || echo 1)" \
|
MAKEFLAGS="-j$(nproc 2>/dev/null || echo 1)" \
|
||||||
/bin/sh -l
|
/bin/sh -l
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user