Обновить alt-e2k-chroot-setup.sh

This commit is contained in:
a1batross 2024-07-16 04:48:48 +02:00
parent 2a7e215c8b
commit c193c58e39

View File

@ -5,8 +5,9 @@ IMAGE_VERSION="20240705"
IMAGE_PATH="/ALTLinux/images/Sisyphus/docker/docker-$IMAGE_VERSION-$IMAGE_ARCH.tar.xz"
MIRRORS=("http://elbrus.ivk.ru/pub" "http://setwd.ws/altlinux")
QEMU_BUILD_FLAGS="--disable-werror --disable-pie"
QEMU_BRANCH="e2k-v8.1.3"
QEMU_CONFIGURE_FLAGS="--disable-werror --disable-pie"
QEMU_CFLAGS="-march=native"
QEMU_BRANCH="e2k-v9.0.0"
CHROOT_DIR="chroot-$IMAGE_ARCH"
@ -56,7 +57,7 @@ set -x
git clone https://git.mentality.rip/OpenE2K/qemu-e2k -b $QEMU_BRANCH --depth=1 || exit 2
pushd qemu-e2k || exit 2
./configure --target-list=e2k-linux-user --static $QEMU_BUILD_FLAGS || exit 2
CFLAGS=${QEMU_CFLAGS} ./configure --target-list=e2k-linux-user --static $QEMU_CONFIGURE_FLAGS || exit 2
make -j$(nproc) || exit 2
popd || exit 2