Skip to content
Snippets Groups Projects
Commit 7585d460 authored by Matt Johnston's avatar Matt Johnston
Browse files

Build with -Werror for the simplest case

parent 94bff1df
No related merge requests found
...@@ -3,7 +3,7 @@ compiler: ...@@ -3,7 +3,7 @@ compiler:
- gcc - gcc
script: script:
- autoconf && autoheader && ./configure $BUNDLEDLIBTOM CFLAGS="-O2 -Wall -Wno-pointer-sign" --prefix=$HOME/inst - autoconf && autoheader && ./configure $BUNDLEDLIBTOM CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS" --prefix=$HOME/inst
- test "$NOWRITEV" && sed -i s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h || true - test "$NOWRITEV" && sed -i s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h || true
- make install - make install
- ~/inst/bin/dropbearkey -t rsa -f testrsa - ~/inst/bin/dropbearkey -t rsa -f testrsa
...@@ -17,7 +17,7 @@ before_install: ...@@ -17,7 +17,7 @@ before_install:
- sudo apt-get install -qq libz-dev libtomcrypt-dev libtommath-dev - sudo apt-get install -qq libz-dev libtomcrypt-dev libtommath-dev
env: env:
- BUNDLEDLIBTOM=--disable-bundled-libtom - BUNDLEDLIBTOM=--disable-bundled-libtom WEXTRAFLAGS=-Werror
- BUNDLEDLIBTOM=--enable-bundled-libtom - BUNDLEDLIBTOM=--enable-bundled-libtom
- MULTI=1 - MULTI=1
- NOWRITEV=1 - NOWRITEV=1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment