aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbuild-aux/ci_build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/ci_build.sh b/build-aux/ci_build.sh
index e92d88c9..da780f33 100755
--- a/build-aux/ci_build.sh
+++ b/build-aux/ci_build.sh
@@ -48,6 +48,7 @@ DEST_DIR="$SRC_DIR/../xz_build"
PHASE="all"
ARTIFACTS_DIR_NAME="output"
+[[ -z ${CFLAGS} ]] && export CFLAGS="-O2"
###################
# Parse arguments #
@@ -105,7 +106,7 @@ while getopts a:b:c:d:l:m:n:s:p:f:w:h opt; do
p) PHASE="$OPTARG"
;;
f)
- CFLAGS="$OPTARG"
+ CFLAGS+=" $OPTARG"
export CFLAGS
;;
w) WRAPPER="$OPTARG"