travis: disable tautological-compare warnings

This commit is contained in:
Alam Ed Arias committed 2016-05-28 22:23:20 -04:00
1 parent b60ab05721
commit e866630b22
1 file changed
+2 -1
+2 -1
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: