mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
14 lines
297 B
Bash
Executable File
14 lines
297 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Build with clang with all warnings.
|
|
#
|
|
TARGET=$(dirname $0)/../darkhttpd.c
|
|
if [[ -z "$CLANG" ]]; then
|
|
CLANG="$(which clang)"
|
|
fi
|
|
"$CLANG" -Weverything -O \
|
|
-Wno-unreachable-code -Wno-padded -Wno-disabled-macro-expansion \
|
|
-Wno-reserved-id-macro \
|
|
-DDEBUG $TARGET
|
|
rm -f a.out
|