From c193c58e3945e0e5323c75685ca80634d27b3257 Mon Sep 17 00:00:00 2001 From: a1batross Date: Tue, 16 Jul 2024 04:48:48 +0200 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20alt-e2k-chroot-setup.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alt-e2k-chroot-setup.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/alt-e2k-chroot-setup.sh b/alt-e2k-chroot-setup.sh index dbcacd7..23da6dc 100644 --- a/alt-e2k-chroot-setup.sh +++ b/alt-e2k-chroot-setup.sh @@ -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