Specify CFLAGS.

This commit is contained in:
Pavel Roskin 2002-11-15 07:01:32 +00:00
parent 8a3bce3a54
commit 8bc3193273

View File

@ -5,6 +5,14 @@
set -e
# Specify which warnings we want to see.
# Don't add options that produce massive warnings.
# Add -Wstrict-prototypes after main.h is fixed (always use cpanel).
# Maybe add -W if a better way to initialize quick dialogs is found.
export CFLAGS="-O2 -Wall -Wno-unused-parameter -Wno-sign-compare \
-Wmissing-declarations -Wmissing-prototypes -Wbad-function-cast \
-Wcast-align -Wpointer-arith -Wredundant-decls -Wundef -Wfloat-equal"
echo "Checking the documentation"
maint/doctest