darkhttpd/devel/clang-warns

14 lines
264 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
2013-04-28 15:24:33 +04:00
$LLVM/install/bin/clang -Weverything -O \
-Wno-unreachable-code -Wno-padded -Wno-disabled-macro-expansion \
2015-01-01 10:32:01 +03:00
-DDEBUG $TARGET
rm -f a.out