summaryrefslogtreecommitdiff
path: root/user/x264
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-21 21:16:29 -0400
committerMax Rees <maxcrees@me.com>2019-07-21 21:16:29 -0400
commit57e345c7685983e629aac18a4e5b068392d29f6d (patch)
tree3382b950b7b2b20262401226e0495ef4a0d86514 /user/x264
parent28292506b3918b763ea272399044fcf72534aec2 (diff)
downloadpackages-57e345c7685983e629aac18a4e5b068392d29f6d.tar.gz
packages-57e345c7685983e629aac18a4e5b068392d29f6d.tar.bz2
packages-57e345c7685983e629aac18a4e5b068392d29f6d.tar.xz
packages-57e345c7685983e629aac18a4e5b068392d29f6d.zip
user/*: bashism removal part 2 (o-z)
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 \