darkhttpd/devel/clang-warns

14 lines
226 B
Plaintext
Raw Normal View History

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