mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Catch up to clang changes.
This commit is contained in:
parent
ea93b88e62
commit
0ee2971740
@ -6,9 +6,8 @@ TARGET=$(dirname $0)/../darkhttpd.c
|
||||
|
||||
# Adjust to suit:
|
||||
LLVM=$HOME/llvm
|
||||
CHECKER=$LLVM/llvm/tools/clang/tools/scan-build/ccc-analyzer
|
||||
|
||||
$LLVM/llvm/tools/clang/tools/scan-build/scan-build \
|
||||
$LLVM/llvm/tools/clang/tools/scan-build/bin/scan-build \
|
||||
-analyze-headers \
|
||||
--use-analyzer=$LLVM/install/bin/clang \
|
||||
clang -DDEBUG $TARGET
|
||||
|
@ -9,5 +9,6 @@ LLVM=$HOME/llvm
|
||||
|
||||
$LLVM/install/bin/clang -Weverything -O \
|
||||
-Wno-unreachable-code -Wno-padded -Wno-disabled-macro-expansion \
|
||||
-Wno-reserved-id-macro \
|
||||
-DDEBUG $TARGET
|
||||
rm -f a.out
|
||||
|
Loading…
Reference in New Issue
Block a user