main/libtheora: build with -O3

It's a video codec, so performance is more important than few bytes
in a library size.
This commit is contained in:
Jakub Jirutka 2017-10-01 00:35:19 +02:00
parent 2383bcbb6c
commit 229cb005bb

View File

@ -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 \