forked from kiss-community/kiss
kiss-chroot: Use values from host
This commit is contained in:
parent
bfec038740
commit
757795ebbc
@ -64,8 +64,8 @@ log Entering chroot; {
|
|||||||
SHELL=/bin/sh \
|
SHELL=/bin/sh \
|
||||||
USER=root \
|
USER=root \
|
||||||
KISS_ASROOT=1 \
|
KISS_ASROOT=1 \
|
||||||
CFLAGS="${2:--march=x86-64 -mtune=generic -pipe -Os}" \
|
CFLAGS="${CFLAGS:--march=x86-64 -mtune=generic -pipe -Os}" \
|
||||||
CXXFLAGS="${2:--march=x86-64 -mtune=generic -pipe -Os}" \
|
CXXFLAGS="${CXXFLAGS:--march=x86-64 -mtune=generic -pipe -Os}" \
|
||||||
MAKEFLAGS="-j$(nproc 2>/dev/null || echo 1)" \
|
MAKEFLAGS="${MAKEFLAGS:--j$(nproc 2>/dev/null || echo 1)}" \
|
||||||
/bin/sh -l
|
/bin/sh -l
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user