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

View File

@ -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
} }