From 837941fb5bc5b37f433cfbd4694f84af6c20b343 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 12 Dec 2016 03:07:41 +0100 Subject: travis: actually build static binary for github-lambda --- build-aux/travis-build.sh | 13 ++++--------- 1 file 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}" -- cgit v1.2.3-18-g5258