From f88aea5d8b9452677bd23a9bba917b900cd634c0 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 5 Sep 2018 21:44:29 -0500 Subject: Add flags to error on compile with incompatible pointer type (#4455) * try something a bit different. * newer compiler plz * permute * fix some warnings * fix getters on OpenSSL < 1.1.0 * this is getting involved * given our compiler flags we can't have SSL_CTX_set_cookie_verify_cb --- .travis/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.travis') diff --git a/.travis/run.sh b/.travis/run.sh index 352c252e..5e0e56df 100755 --- a/.travis/run.sh +++ b/.travis/run.sh @@ -7,12 +7,14 @@ if [[ "${TOXENV}" == "pypy" ]]; then fi if [ -n "${LIBRESSL}" ]; then OPENSSL=$LIBRESSL + export CFLAGS="-Werror -Wno-error=deprecated-declarations -Wno-error=discarded-qualifiers -Wno-error=unused-function" fi + if [ -n "${OPENSSL}" ]; then OPENSSL_DIR="ossl-2/${OPENSSL}" export PATH="$HOME/$OPENSSL_DIR/bin:$PATH" - export CFLAGS="-I$HOME/$OPENSSL_DIR/include" + export CFLAGS="${CFLAGS} -I$HOME/$OPENSSL_DIR/include" # rpath on linux will cause it to use an absolute path so we don't need to # do LD_LIBRARY_PATH export LDFLAGS="-L$HOME/$OPENSSL_DIR/lib -Wl,-rpath=$HOME/$OPENSSL_DIR/lib" -- cgit v1.2.3