kiss-chroot: Use values from host

This commit is contained in:
Dylan Araps 2020-06-13 21:14:58 +03:00
parent bfec038740
commit 757795ebbc
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 3 additions and 3 deletions

View File

@ -64,8 +64,8 @@ log Entering chroot; {
SHELL=/bin/sh \
USER=root \
KISS_ASROOT=1 \
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)" \
CFLAGS="${CFLAGS:--march=x86-64 -mtune=generic -pipe -Os}" \
CXXFLAGS="${CXXFLAGS:--march=x86-64 -mtune=generic -pipe -Os}" \
MAKEFLAGS="${MAKEFLAGS:--j$(nproc 2>/dev/null || echo 1)}" \
/bin/sh -l
}