Skip to content
Snippets Groups Projects
Commit 0a6ee668 authored by alice's avatar alice
Browse files

community/qemu: disable lto

parent ae1bd091
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qemu
pkgver=7.2.1
pkgrel=0
pkgrel=1
pkgdesc="QEMU is a generic machine emulator and virtualizer"
url="https://qemu.org/"
arch="all"
......@@ -299,16 +299,6 @@ source="https://wiki.qemu-project.org/download/qemu-$pkgver.tar.xz
# - CVE-2017-5931
_compile_common() {
case "$CARCH" in
riscv64)
# binutils bug for lto
export CFLAGS="${CFLAGS/-Os/-O2}"
;;
*)
export CFLAGS="${CFLAGS/-Os/-O2} -flto=2"
;;
esac
"$builddir"/configure \
--prefix=/usr \
--localstatedir=/var \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment