summaryrefslogtreecommitdiff
path: root/travis-autogen.sh
diff options
context:
space:
mode:
authorLudovic Rousseau <ludovic.rousseau@free.fr>2017-01-04 20:10:35 +0100
committerLudovic Rousseau <ludovic.rousseau@free.fr>2017-01-04 22:57:36 +0100
commita1e94c8ce10288858d93aedc67862f6f418053bd (patch)
tree31c7bec0a3996f001cd451a1256fb2e39fc9e71a /travis-autogen.sh
parent9029ee0319bdc0395996931e2501bc05b8bd6dfe (diff)
downloadlibusb-a1e94c8ce10288858d93aedc67862f6f418053bd.tar.gz
travis: remove -Werror
Using -Werror in CFLAGS make ./configure to fails with: checking whether the C compiler works... no configure: error: in `/home/travis/build/LudovicRousseau/libusb': configure: error: C compiler cannot create executables See `config.log' for more details -Werror had no effect because CFLAGS was _not_ exported.
Diffstat (limited to 'travis-autogen.sh')
-rwxr-xr-xtravis-autogen.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/travis-autogen.sh b/travis-autogen.sh
index 2079933..dd3af0b 100755
--- a/travis-autogen.sh
+++ b/travis-autogen.sh
@@ -35,7 +35,6 @@ CFLAGS+=" -Wno-deprecated-declarations"
# should be removed and the code fixed
CFLAGS+=" -Wno-incompatible-pointer-types-discards-qualifiers"
-# fails on warning
-CFLAGS+=" -Werror"
+export CFLAGS
./autogen.sh