]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
travis: compile with -Werror on Linux
authorAntonio Quartulli <a@unstable.cc>
Sun, 10 Nov 2019 13:35:25 +0000 (14:35 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 10 Nov 2019 16:53:50 +0000 (17:53 +0100)
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20191110133525.6069-3-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19094.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
.travis/build-check.sh

index 039a7dcfd769fb6206809327b5e67c6c6ac12c57..250bb4548b50be8ed98992a89efca8425e09262b 100755 (executable)
@@ -8,6 +8,7 @@ fi
 
 if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
        export LD_LIBRARY_PATH="${PREFIX}/lib:${LD_LIBRARY_PATH:-}"
+       export CFLAGS="${CFLAGS} -Werror"
 fi
 
 if [ "${TRAVIS_OS_NAME}" = "osx"   ]; then