summaryrefslogtreecommitdiff
path: root/user/opus
diff options
context:
space:
mode:
Diffstat (limited to 'user/opus')
-rw-r--r--user/opus/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/opus/APKBUILD b/user/opus/APKBUILD
index 2b2a2d887..7d6854a1b 100644
--- a/user/opus/APKBUILD
+++ b/user/opus/APKBUILD
@@ -14,7 +14,8 @@ builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
- CFLAGS="${CFLAGS/-Os/-O2}" ./configure \
+ CFLAGS="$(printf '%s' "$CFLAGS" | sed 's/-Os/-O2/')" \
+ ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \