Workaround for false -Warray-bounds in Travis
authorEmilia Kasper <emilia@openssl.org>
Sat, 12 Mar 2016 16:18:25 +0000 (17:18 +0100)
committerEmilia Kasper <emilia@openssl.org>
Sat, 12 Mar 2016 16:57:01 +0000 (17:57 +0100)
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 <levitte@openssl.org>
.travis.yml

index ec2396e5e35500446ac0bfda31dfb17a8174209a..1ebe12b92d0265fda77004aeeec2b8ed15ef731c 100644 (file)
@@ -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;