travis: disable tautological-compare warnings

This commit is contained in:
Alam Ed Arias 2016-05-28 21:50:06 -04:00
parent b60ab05721
commit e866630b22
1 changed files with 2 additions and 1 deletions

View File

@ -150,7 +150,8 @@ before_script:
- 7z x $HOME/srb2_cache/SRB2-v2115-assets-2.7z -oassets
- mkdir build
- cd build
- export CFLAGS="-Wall -W -Werror"
- export CFLAGS="-Wall -W -Werror -Wno-tautological-compare -Wno-error=tautological-compare"
- $CC -Wno-error=tautological-compare -dM -E - < /dev/null&>/dev/null||export CFLAGS="Wall -W -Werror"
- cmake .. -DCMAKE_BUILD_TYPE=Release
before_install: