mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Build with warnings.
This commit is contained in:
parent
15eda67214
commit
6acf37e879
@ -111,9 +111,9 @@ fi
|
|||||||
|
|
||||||
# Check that the code builds with various defines.
|
# Check that the code builds with various defines.
|
||||||
echo "===> building without -DDEBUG"
|
echo "===> building without -DDEBUG"
|
||||||
$CC -O2 ../darkhttpd.c || exit 1
|
$CC -O2 -Wall ../darkhttpd.c || exit 1
|
||||||
echo "===> building with -DNO_IPV6"
|
echo "===> building with -DNO_IPV6"
|
||||||
$CC -O2 -DNO_IPV6 ../darkhttpd.c || exit 1
|
$CC -O2 -Wall -DNO_IPV6 ../darkhttpd.c || exit 1
|
||||||
|
|
||||||
# Do coverage and sanitizers.
|
# Do coverage and sanitizers.
|
||||||
# -fsanitize=undefined produces stderr.
|
# -fsanitize=undefined produces stderr.
|
||||||
|
Loading…
Reference in New Issue
Block a user