diff options
author | Simon Warta <[email protected]> | 2015-06-25 15:27:01 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-25 15:27:01 +0200 |
commit | 6deda9e82a1141d83476d7c4a6453d249c1e23d1 (patch) | |
tree | c2ed6c380bc53e10d548d0bd03e8df18f45227a6 /src | |
parent | 870e846c3fe4c723c313e72cdcfbe81a32bd01a9 (diff) |
Fix --build-mode in CI build script
--build-mode is one of: release, debug, coverage
A shared lib is build when --disable-shared is not set, i.e. CFG_FLAGS
is empty.
Diffstat (limited to 'src')
-rwxr-xr-x | src/scripts/ci/build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/ci/build.sh b/src/scripts/ci/build.sh index 2aa3e5458..5d88260d4 100755 --- a/src/scripts/ci/build.sh +++ b/src/scripts/ci/build.sh @@ -3,9 +3,9 @@ set -ev if [ "$BUILD_MODE" = "static" ]; then - CFG_FLAGS="--disable-shared --via-amalgamation" + CFG_FLAGS="--disable-shared --via-amalgamation" elif [ "$BUILD_MODE" = "shared" ]; then - CFG_FLAGS="--build-mode=shared" + CFG_FLAGS="" elif [ "$BUILD_MODE" = "coverage" ]; then # lcov gets confused by symlinks CFG_FLAGS="--build-mode=coverage --link-method=copy" |