diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2016-11-27 15:24:18 -0500 |
---|---|---|
committer | Maxim Biro <nurupo.contributions@gmail.com> | 2016-11-28 15:13:01 -0500 |
commit | f0f53dbd5565cbedac30efbfd18202d55d028d1e (patch) | |
tree | 85b5a7bc0c70129819fab09f06b8aee9e433d6f3 /other/travis/env-linux.sh | |
parent | d6bad9078b721597f4def2447656974d5fed80d6 (diff) |
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.
Diffstat (limited to 'other/travis/env-linux.sh')
-rw-r--r-- | other/travis/env-linux.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | CMAKE=cmake | 3 | CMAKE=cmake |
4 | CMAKE_EXTRA_FLAGS="-DFORMAT_TEST=ON" | 4 | CMAKE_EXTRA_FLAGS="$CMAKE_EXTRA_FLAGS -DFORMAT_TEST=ON" |
5 | NPROC=`nproc` | 5 | NPROC=`nproc` |
6 | CURDIR=$PWD | 6 | CURDIR=$PWD |
7 | 7 | ||