summaryrefslogtreecommitdiff
path: root/user/x264
diff options
context:
space:
mode:
Diffstat (limited to 'user/x264')
-rw-r--r--user/x264/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/x264/APKBUILD b/user/x264/APKBUILD
index edae76ade..4c8b772a0 100644
--- a/user/x264/APKBUILD
+++ b/user/x264/APKBUILD
@@ -27,7 +27,8 @@ build() {
esac
# note: not autotools
- CFLAGS="${CFLAGS/-Os/}" ./configure \
+ CFLAGS="$(printf '%s' "$CFLAGS" | sed 's/-Os//')" \
+ ./configure \
--host=$CHOST \
--prefix=/usr \
--enable-shared \