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:
|
# Adjust to suit:
|
||||||
LLVM=$HOME/llvm
|
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 \
|
-analyze-headers \
|
||||||
--use-analyzer=$LLVM/install/bin/clang \
|
--use-analyzer=$LLVM/install/bin/clang \
|
||||||
clang -DDEBUG $TARGET
|
clang -DDEBUG $TARGET
|
||||||
|
@ -9,5 +9,6 @@ LLVM=$HOME/llvm
|
|||||||
|
|
||||||
$LLVM/install/bin/clang -Weverything -O \
|
$LLVM/install/bin/clang -Weverything -O \
|
||||||
-Wno-unreachable-code -Wno-padded -Wno-disabled-macro-expansion \
|
-Wno-unreachable-code -Wno-padded -Wno-disabled-macro-expansion \
|
||||||
|
-Wno-reserved-id-macro \
|
||||||
-DDEBUG $TARGET
|
-DDEBUG $TARGET
|
||||||
rm -f a.out
|
rm -f a.out
|
||||||
|
Loading…
Reference in New Issue
Block a user