From db4d737a2d883f7d3ff122fa3116afecb9942770 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Sun, 21 Jul 2019 19:44:28 -0400 Subject: user/*: APKBUILD bashism removal, part one (a-p) --- user/libtheora/APKBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'user/libtheora') diff --git a/user/libtheora/APKBUILD b/user/libtheora/APKBUILD index 2dd25afa7..618f413b9 100644 --- a/user/libtheora/APKBUILD +++ b/user/libtheora/APKBUILD @@ -30,7 +30,9 @@ prepare() { } build() { - CFLAGS="${CFLAGS/-Os/-O3}" CPPFLAGS="${CPPFLAGS/-Os/-O3}" ./configure \ + CFLAGS="$(printf '%s' "$CFLAGS" | sed 's/-Os/-O3/')" \ + CPPFLAGS="$(printf '%s' "$CPPFLAGS" | sed 's/-Os/-O3/')" \ + ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ -- cgit v1.2.3-70-g09d2