aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-06-25 23:25:34 +0200
committerSimon Warta <[email protected]>2015-06-25 23:25:34 +0200
commit4830d15284dc44cb1980d0256976d63dad05c899 (patch)
treef4bf5058d7024bf5ac7693faa867909acc362fc3 /src
parent0b91cbbe2477a631b083ba8809724557259c2e8c (diff)
parent6deda9e82a1141d83476d7c4a6453d249c1e23d1 (diff)
Merge pull request #138 from webmaster128/choices
Add optparse choices parameter to detect config errors nice and early
Diffstat (limited to 'src')
-rwxr-xr-xsrc/scripts/ci/build.sh4
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"