mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +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>
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||||
pkgname=qemu
|
pkgname=qemu
|
||||||
pkgver=8.0.0
|
pkgver=8.0.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="QEMU is a generic machine emulator and virtualizer"
|
pkgdesc="QEMU is a generic machine emulator and virtualizer"
|
||||||
url="https://qemu.org/"
|
url="https://qemu.org/"
|
||||||
arch="all"
|
arch="all"
|
||||||
@ -326,6 +326,11 @@ _compile_common() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
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 \
|
mkdir -p "$builddir"/build \
|
||||||
"$builddir"/build-static
|
"$builddir"/build-static
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user