diff options
author | Richard Levitte <levitte@openssl.org> | 2020-05-12 10:54:04 +0300 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-05-14 13:20:24 +0300 |
commit | 16e3588d98b313701a55ab1337b1d30ba7b08872 (patch) | |
tree | 428d98190b4b5c548998c50bf76440f1d34d01e7 | |
parent | d49be019d257149d61b9061be83602ec51fa9812 (diff) |
.travis.yml: never use -Werror, use --strict-warnings instead
There are a few things in the OpenSSL code that are known to give
warnings that we know are harmless. We test our builds accordingly.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11710)
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 2bc040fe28..0ac0eb5bf9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ compiler: env: # Note: env entry here must exactly match the value in the exclude: table below that contains env:, otherwise it will not find a match. - CONFIG_OPTS="" DESTDIR="_install" - - CONFIG_OPTS="no-asm -Werror --debug no-afalgeng no-shared enable-rc5 enable-md2 -fsanitize=address" LSAN_OPTIONS="report_objects=1" + - CONFIG_OPTS="no-asm --debug --strict-warnings no-afalgeng no-shared enable-rc5 enable-md2 -fsanitize=address" LSAN_OPTIONS="report_objects=1" - CONFIG_OPTS="no-asm no-makedepend enable-buildtest-c++ --strict-warnings -D_DEFAULT_SOURCE" BUILDONLY="yes" CHECKDOCS="yes" CPPFLAGS="-ansi" jobs: @@ -45,7 +45,7 @@ jobs: - os: osx compiler: gcc - os: osx - env: CONFIG_OPTS="no-asm -Werror --debug no-afalgeng no-shared enable-rc5 enable-md2 -fsanitize=address" LSAN_OPTIONS="report_objects=1" + env: CONFIG_OPTS="no-asm --debug --strict-warnings no-afalgeng no-shared enable-rc5 enable-md2 -fsanitize=address" LSAN_OPTIONS="report_objects=1" include: - os: linux arch: arm64 |