mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
community/qemu: use O2
This commit is contained in:
parent
c4feb815ec
commit
c991f878d6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user