jenkins_amd64.sh: use --enable-werror configure flag, not CFLAGS

Note that the jenkins_arm.sh passes various CFLAGS and potentially overwrites
./configure internal CFLAGS like that. I'm staying out of that for now.

Change-Id: I81b50c39cd6e908c4c95651829b679425de87a28
This commit is contained in:
Neels Hofmeyr 2018-03-05 20:51:49 +01:00 committed by Neels Hofmeyr
parent 09ecbb7674
commit b10ec0be5f
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ build() {
prep_build "$src_dir" "$build_dir"
"$src_dir"/configure --disable-silent-rules --enable-static $ENABLE_SANITIZE CFLAGS="-Werror" CPPFLAGS="-Werror"
"$src_dir"/configure --disable-silent-rules --enable-static $ENABLE_SANITIZE --enable-werror
run_make
}