diff options
-rwxr-xr-x | build-aux/travis-build.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/build-aux/travis-build.sh b/build-aux/travis-build.sh index 15f8bb0..bea4a2b 100755 --- a/build-aux/travis-build.sh +++ b/build-aux/travis-build.sh @@ -7,8 +7,13 @@ mkdir -p build pushd build > /dev/null +export CFLAGS="-Wall -g -O0" + +if [[ "x${TARGET}" = "xblogc-github-lambda" ]]; then + export LDFLAGS="-static" +fi + ../configure \ - CFLAGS="-Wall -g -O0" \ --enable-ronn \ --disable-silent-rules \ --enable-tests \ @@ -18,4 +23,8 @@ pushd build > /dev/null popd > /dev/null +if [[ "x${TARGET}" = "xblogc-github-lambda" ]]; then + export LDFLAGS="-all-static" +fi + make -C build "${TARGET}" |