aboutsummaryrefslogtreecommitdiffstats
path: root/main/libtheora
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-10-01 00:35:19 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-10-01 00:37:40 +0200
commit229cb005bbfacfb59f574675bea0f39ff1222941 (patch)
treed9f2ed54f3da6c06ecc38fb90959aefc861643c6 /main/libtheora
parent2383bcbb6c87ee1d59970dcc57cec9c067858511 (diff)
downloadaports-229cb005bbfacfb59f574675bea0f39ff1222941.tar.bz2
aports-229cb005bbfacfb59f574675bea0f39ff1222941.tar.xz
main/libtheora: build with -O3
It's a video codec, so performance is more important than few bytes in a library size.
Diffstat (limited to 'main/libtheora')
-rw-r--r--main/libtheora/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/libtheora/APKBUILD b/main/libtheora/APKBUILD
index 6f43fc2a6d..f8b921619b 100644
--- a/main/libtheora/APKBUILD
+++ b/main/libtheora/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtheora
pkgver=1.1.1
-pkgrel=12
+pkgrel=13
pkgdesc="An open video codec developed by the Xiph.org"
url="http://www.xiph.org"
arch="all"
@@ -34,7 +34,7 @@ prepare() {
build() {
cd "$builddir"
- ./configure \
+ CFLAGS="${CFLAGS/-Os/-O3}" CPPFLAGS="${CPPFLAGS/-Os/-O3}" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \