Adjust CXXFLAGS on travis

This commit is contained in:
Alexander Mai 2015-11-08 13:33:05 +01:00
parent 445907d930
commit 4ea9655685
1 changed files with 2 additions and 2 deletions

View File

@ -6,9 +6,9 @@ compiler:
env:
global:
# unfortunately we need this to stay within 50min timelimit given by travis.
# fortunately we need this to stay within 50min timelimit given by travis.
# this also turns off the debug/warning cxxflags
- CXXFLAGS="-O2 -march=native -mtune=native -Wunreachable-code"
- CXXFLAGS="-std=c++0x -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"