From: Evgeny Vereshchagin Date: Thu, 2 Jul 2020 10:51:04 +0000 (+0000) Subject: travis: turn off -Werror on precise and osx X-Git-Tag: v2.36-rc2~19^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=38c5db359d81e72387f8b886b31e225d8390d923;p=thirdparty%2Futil-linux.git travis: turn off -Werror on precise and osx I'm not sure anyone is particularly interested in what the compilers have to say there. --- diff --git a/.travis-functions.sh b/.travis-functions.sh index d8908670e7..7c9619e88b 100755 --- a/.travis-functions.sh +++ b/.travis-functions.sh @@ -74,7 +74,9 @@ function check_nonroot make_opts="$make_opts --memcheck-asan" fi - conf_opts="$conf_opts --enable-werror" + if [ "$TRAVIS_OS_NAME" != "osx" -a "$TRAVIS_DIST" != "precise" ]; then + conf_opts="$conf_opts --enable-werror" + fi xconfigure $conf_opts || return $MAKE || return @@ -99,7 +101,9 @@ function check_root make_opts="$make_opts --memcheck-asan" fi - conf_opts="$conf_opts --enable-werror" + if [ "$TRAVIS_OS_NAME" != "osx" -a "$TRAVIS_DIST" != "precise" ]; then + conf_opts="$conf_opts --enable-werror" + fi xconfigure $conf_opts || return $MAKE || return