mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
15 lines
291 B
Bash
Executable File
15 lines
291 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 \
|
|
-Wno-reserved-id-macro \
|
|
-DDEBUG $TARGET
|
|
rm -f a.out
|