summaryrefslogtreecommitdiff
path: root/user/postgresql
diff options
context:
space:
mode:
Diffstat (limited to 'user/postgresql')
-rw-r--r--user/postgresql/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/user/postgresql/APKBUILD b/user/postgresql/APKBUILD
index 91bdf258a..97300d986 100644
--- a/user/postgresql/APKBUILD
+++ b/user/postgresql/APKBUILD
@@ -69,8 +69,8 @@ prepare() {
build() {
export PYTHON=/usr/bin/python3
- export CFLAGS="${CFLAGS/-Os/-O2}"
- export CPPFLAGS="${CPPFLAGS/-Os/-O2}"
+ export CFLAGS="$(printf '%s' "$CFLAGS" | sed 's/-Os/-O2/')"
+ export CFLAGS="$(printf '%s' "$CPPFLAGS" | sed 's/-Os/-O2/')"
./configure \
--build=$CBUILD \