third_party_libnl/.travis/run.sh
2019-08-09 16:48:55 +02:00

18 lines
305 B
Bash
Executable File

#!/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