aboutsummaryrefslogtreecommitdiffstats
path: root/main/qemu/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-10-13 22:21:16 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-10-14 00:13:48 +0200
commit8caa90ed51c205278df682f0c1f3d97defa882f9 (patch)
tree0e08d7adf64fb5a0b851063d5f0f403640af0bbb /main/qemu/APKBUILD
parent74e233a805f48dff1ae4869529e70ff1e63bf39a (diff)
downloadaports-8caa90ed51c205278df682f0c1f3d97defa882f9.tar.bz2
aports-8caa90ed51c205278df682f0c1f3d97defa882f9.tar.xz
main/qemu: build with -O2 instead of -Os
Performance is definitely more important for QEMU than binaries size.
Diffstat (limited to 'main/qemu/APKBUILD')
-rw-r--r--main/qemu/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/qemu/APKBUILD b/main/qemu/APKBUILD
index 01d10a7a23..27f90c1e12 100644
--- a/main/qemu/APKBUILD
+++ b/main/qemu/APKBUILD
@@ -174,7 +174,7 @@ prepare() {
}
_compile_common() {
- "$builddir"/configure \
+ CFLAGS="${CFLAGS/-Os/-O2}" "$builddir"/configure \
--prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \