[build] no joy with -static

This commit is contained in:
Timothy Stack 2017-04-07 09:39:46 -07:00
parent dbc8251175
commit d2514773ae
1 changed files with 2 additions and 3 deletions

View File

@ -5,13 +5,12 @@ compiler: gcc
sudo: false
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
script: ./autogen.sh && ./configure LDFLAGS="-static" && make distcheck -j3
script: ./autogen.sh && ./configure LDFLAGS="-static-libstdc++ -static-libgcc" && make distcheck -j3
after_script: test -e test/test-suite.log && cat test/test-suite.log
env:
global:
- LDFLAGS: -static
# -static-libstdc++ -static-libgcc
- LDFLAGS: -static-libstdc++ -static-libgcc
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "P3wQLswiGYWrZwO4bxFmsA4XG5s/pS+renL0RMeotMTQwQQXmy1ZCvwMnAgaYWQmF82fN8WjuhO3OX0gpDbydxRktqI5ZqblsryV6poB0g+OkCqThbDUp3TL6TjPqySTI1CZ8qoOBYFMubAZYVJAEfxl0UxoQE+uTsRarRqr8rI="