mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Specify CFLAGS.
This commit is contained in:
parent
8a3bce3a54
commit
8bc3193273
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user