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

16 lines
264 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
export CFLAGS
./autogen.sh
./configure
make -j 5
make -j 5 check