summaryrefslogtreecommitdiff
path: root/other/travis/env-linux.sh
diff options
context:
space:
mode:
authorMaxim Biro <nurupo.contributions@gmail.com>2016-11-27 15:24:18 -0500
committerMaxim Biro <nurupo.contributions@gmail.com>2016-11-28 15:13:01 -0500
commitf0f53dbd5565cbedac30efbfd18202d55d028d1e (patch)
tree85b5a7bc0c70129819fab09f06b8aee9e433d6f3 /other/travis/env-linux.sh
parentd6bad9078b721597f4def2447656974d5fed80d6 (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.sh2
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
3CMAKE=cmake 3CMAKE=cmake
4CMAKE_EXTRA_FLAGS="-DFORMAT_TEST=ON" 4CMAKE_EXTRA_FLAGS="$CMAKE_EXTRA_FLAGS -DFORMAT_TEST=ON"
5NPROC=`nproc` 5NPROC=`nproc`
6CURDIR=$PWD 6CURDIR=$PWD
7 7