From f0f53dbd5565cbedac30efbfd18202d55d028d1e Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Sun, 27 Nov 2016 15:24:18 -0500 Subject: Don't error on warnings by default Having -Werror set by default causes users' builds to fail because toxcore is not warning-free. Failing on errors is appropriate for the development phase, e.g. when building it in a CI enviroment, but it doesn't make much sense to fail builds for users and let them figure out that they need to pass -DWARNINGS=OFF to make the library build. --- other/travis/env-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'other/travis/env-linux.sh') diff --git a/other/travis/env-linux.sh b/other/travis/env-linux.sh index a8b1d5ae..10b4fe82 100644 --- a/other/travis/env-linux.sh +++ b/other/travis/env-linux.sh @@ -1,7 +1,7 @@ #!/bin/sh CMAKE=cmake -CMAKE_EXTRA_FLAGS="-DFORMAT_TEST=ON" +CMAKE_EXTRA_FLAGS="$CMAKE_EXTRA_FLAGS -DFORMAT_TEST=ON" NPROC=`nproc` CURDIR=$PWD -- cgit v1.2.3