From: Emilia Kasper Date: Sat, 12 Mar 2016 16:18:25 +0000 (+0100) Subject: Workaround for false -Warray-bounds in Travis X-Git-Tag: OpenSSL_1_1_0-pre4~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4b8574461b92ea64ef048335f942995a09025331;p=oweals%2Fopenssl.git Workaround for false -Warray-bounds in Travis ccache + clang produces a false strcmp warning, see https://llvm.org/bugs/show_bug.cgi?id=20144 Since this only happens with ccache and --strict-warnings, and only with certain versions of glibc / clang, disabling ccache is a reasonable short-term workaround. Reviewed-by: Richard Levitte --- diff --git a/.travis.yml b/.travis.yml index ec2396e5e3..1ebe12b92d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -75,7 +75,7 @@ before_script: export CROSS_COMPILE=${CC%%gcc}; unset CC; $srcdir/Configure mingw64 $CONFIG_OPTS -Wno-pedantic-ms-format; else - if which ccache >/dev/null; then + if which ccache >/dev/null && [ "$CC" != clang-3.6 ]; then CC="ccache $CC"; fi; $srcdir/config $CONFIG_OPTS;