From b4630e03ab36de12a828046df399d1aedb646615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Sun, 22 Jun 2014 13:56:06 +0200 Subject: [PATCH] travis: change build optimization level back to -O2 (from -O3) as discussed in https://github.com/danmar/cppcheck/commit/59077b06f9be2597db57753a27aff93ee294a670 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 953262aa4..d59784c27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ env: global: # unfortunately we need this to stay within 50min timelimit given by travis. # this also turns off the debug/warning cxxflags - - CXXFLAGS="-O3 -march=native -mtune=native -Wunreachable-code" + - CXXFLAGS="-O2 -march=native -mtune=native -Wunreachable-code" matrix: # special CXXFLAGS for maximum speed, overrides global CXXFLAGS, CHECK_CLANG is the var that controls if we download and check clang in that travis job - CXXFLAGS="${CXXFLAGS} -DCHECK_INTERNAL"