Try to disable -Wformat-security at all

only fmt triggered it (gcc bug?) and we have clang too so we can live
with that until they fix it.
This commit is contained in:
Danila Malyutin 2015-07-27 03:40:42 +03:00
parent caa6db8617
commit 6e6170ae1c

View File

@ -40,7 +40,7 @@ before_install:
- download_extract() { aria2c -x 16 $1 -o $2 && tar -xf $2; }
- if [ "$CXX" = "g++" ]; then
sudo apt-get install -qq g++-4.9;
export CXX="g++-4.9" CC="gcc-4.9";
export CXX="g++-4.9" CC="gcc-4.9" CXXFLAGS="-Wno-format-security";
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01';
else
sudo apt-get install -qq --allow-unauthenticated clang-3.6 libstdc++-4.8-dev;