darkhttpd/devel/clang-warns
2013-04-28 21:24:33 +10:00

14 lines
256 B
Bash
Executable File

#!/bin/sh
#
# Build with clang with all warnings.
#
TARGET=$(dirname $0)/../darkhttpd.c
# Adjust to suit:
LLVM=$HOME/llvm
$LLVM/install/bin/clang -Weverything -O \
-Wno-unreachable-code -Wno-padded -Wno-disabled-macro-expansion \
$TARGET
rm -f a.out