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/opus/APKBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'user/opus') 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 \ -- cgit v1.2.3-70-g09d2