Merge pull request #344 from matthiaskrgr/travis_O

travis: change build optimization level back to -O2 (from -O3) as discussed
This commit is contained in:
Daniel Marjamäki 2014-06-22 19:10:52 +02:00
commit c19fc08a68
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ env:
global: global:
# unfortunately we need this to stay within 50min timelimit given by travis. # unfortunately we need this to stay within 50min timelimit given by travis.
# this also turns off the debug/warning cxxflags # 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: 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 # 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" - CXXFLAGS="${CXXFLAGS} -DCHECK_INTERNAL"