community/qemu: use O2

This commit is contained in:
psykose 2023-05-06 13:52:02 +00:00
parent c4feb815ec
commit c991f878d6

View File

@ -4,7 +4,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qemu
pkgver=8.0.0
pkgrel=1
pkgrel=2
pkgdesc="QEMU is a generic machine emulator and virtualizer"
url="https://qemu.org/"
arch="all"
@ -326,6 +326,11 @@ _compile_common() {
}
build() {
# it pretty much never makes sense to optimise qemu for disk size
export CFLAGS="$CFLAGS -O2"
export CXXFLAGS="$CXXFLAGS -O2"
export CPPFLAGS="$CPPFLAGS -O2"
mkdir -p "$builddir"/build \
"$builddir"/build-static