5 CFLAGS="-Werror -Wno-error=format $CFLAGS"
8 function configure_ovs()
10 ./boot.sh && ./configure $*
13 configure_ovs $EXTRA_OPTS $*
15 if [ "$CC" = "clang" ]; then
16 make CFLAGS="$CFLAGS -Wno-error=unused-command-line-argument"
18 make CFLAGS="$CFLAGS $BUILD_ENV"
20 if [ "$TESTSUITE" ] && [ "$CC" != "clang" ]; then
21 if ! make distcheck RECHECK=yes; then
22 # testsuite.log is necessary for debugging.
23 cat */_build/tests/testsuite.log