forked from kiss-community/kiss
kiss-chroot: Set CFLAGS/CXXFLAGS via $2
This commit is contained in:
parent
e9291d6d03
commit
4cbe2cb42e
@ -48,8 +48,8 @@ main() {
|
|||||||
SHELL=/bin/sh \
|
SHELL=/bin/sh \
|
||||||
USER=root \
|
USER=root \
|
||||||
KISS_ASROOT=1 \
|
KISS_ASROOT=1 \
|
||||||
CFLAGS="-march=${2:-x86-64} -mtune=generic -pipe -Os" \
|
CFLAGS="${2:--march=x86-64 -mtune=generic -pipe -Os}" \
|
||||||
CXXFLAGS="-march=${2:-x86-64} -mtune=generic -pipe -Os" \
|
CXXFLAGS="${2:---march=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