summaryrefslogtreecommitdiff
path: root/travis-ci
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2021-01-10 15:39:24 +0000
committerLuca Boccassi <bluca@debian.org>2021-01-10 21:16:38 +0000
commitca0f86d16a5b3d70a27cef82c4fa91310d70b1c2 (patch)
treec3e8346089fa7c5a5ce583abf0c1b3fc15537a1d /travis-ci
parent9ca600e2bfacc52a65c89f3485723b2c27394e55 (diff)
downloadsystemd-ca0f86d16a5b3d70a27cef82c4fa91310d70b1c2.tar.gz
ci: do not build with --optimization=1 with Clang
Diffstat (limited to 'travis-ci')
-rwxr-xr-xtravis-ci/managers/debian.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/travis-ci/managers/debian.sh b/travis-ci/managers/debian.sh
index ad6306744c..39fbb3d65c 100755
--- a/travis-ci/managers/debian.sh
+++ b/travis-ci/managers/debian.sh
@@ -62,9 +62,8 @@ for phase in "${PHASES[@]}"; do
RUN|RUN_GCC|RUN_CLANG)
if [[ "$phase" = "RUN_CLANG" ]]; then
ENV_VARS="-e CC=clang -e CXX=clang++"
- MESON_ARGS="--optimization=1"
fi
- docker exec $ENV_VARS -it $CONT_NAME meson --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true -Dsplit-usr=true -Dman=true $MESON_ARGS build
+ docker exec $ENV_VARS -it $CONT_NAME meson --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true -Dsplit-usr=true -Dman=true build
$DOCKER_EXEC ninja -v -C build
docker exec -e "TRAVIS=$TRAVIS" -it $CONT_NAME ninja -C build test
;;