diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-12-12 03:07:41 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-12-12 03:07:41 +0100 |
commit | 837941fb5bc5b37f433cfbd4694f84af6c20b343 (patch) | |
tree | 1c9615023aacc665d8676d9ffb3bbf9de5be752e /build-aux | |
parent | 20b83978064a0166847dac8705f44592f1432d60 (diff) | |
download | blogc-837941fb5bc5b37f433cfbd4694f84af6c20b343.tar.gz blogc-837941fb5bc5b37f433cfbd4694f84af6c20b343.tar.bz2 blogc-837941fb5bc5b37f433cfbd4694f84af6c20b343.zip |
travis: actually build static binary for github-lambda
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/travis-build.sh | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/build-aux/travis-build.sh b/build-aux/travis-build.sh index bea4a2b..9d72839 100755 --- a/build-aux/travis-build.sh +++ b/build-aux/travis-build.sh @@ -7,13 +7,8 @@ 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 \ @@ -24,7 +19,7 @@ fi popd > /dev/null if [[ "x${TARGET}" = "xblogc-github-lambda" ]]; then - export LDFLAGS="-all-static" + make -C build LDFLAGS="-all-static" "${TARGET}" +else + make -C build "${TARGET}" fi - -make -C build "${TARGET}" |