Adjust CXXFLAGS on travis
This commit is contained in:
parent
445907d930
commit
4ea9655685
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue