5 ENABLE_GCC_WERROR=--enable-gcc-Werror
8 # clang -mx32 fails with the following error:
9 # clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
10 export st_cv_mx32_runtime=no
20 DISTCHECK_CONFIGURE_FLAGS='--build=i686-pc-linux-gnu --target=i686-pc-linux-gnu'
21 export DISTCHECK_CONFIGURE_FLAGS
27 CHECK_CONFIGURE_FLAGS=--enable-code-coverage
29 CFLAGS_FOR_BUILD="$CFLAGS"
30 export CFLAGS CFLAGS_FOR_BUILD
35 export CC_FOR_BUILD="$CC"
39 ./configure --enable-maintainer-mode \
40 ${ENABLE_GCC_WERROR-} \
41 ${DISTCHECK_CONFIGURE_FLAGS-} \
42 ${CHECK_CONFIGURE_FLAGS-} \
45 j=-j`getconf _NPROCESSORS_ONLN 2> /dev/null` || j=
49 make -k $j all VERBOSE=${VERBOSE-}
50 make -k $j check VERBOSE=${VERBOSE-}
51 codecov --gcov-args=-abcp ||:
54 make -k $j distcheck VERBOSE=${VERBOSE-}