You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
305 B

#!/bin/bash
set -e
CFLAGS="-Werror -Wall -Wdeclaration-after-statement -Wvla"
if [ "$CC" = "clang" ]; then
CFLAGS="$CFLAGS -Wno-error=unused-command-line-argument -Wno-error=unused-function"
fi
CFLAGS="$CFLAGS -DNL_MORE_ASSERTS=1000"
export CFLAGS
./autogen.sh
./configure
make -j 5
make -j 5 check