Make it possible to customize warnings

The code uses some constructs that cause compilers to spit out  warnings. As
they do no harm, one should be able to turn off such warnings and enable others
if needed.
master
Robert Clausecker 2013-03-10 00:06:00 +07:00
parent c89d60c79b
commit 0fbd9595a7
1 changed files with 3 additions and 1 deletions

@ -225,7 +225,9 @@ customflags =
# ---------------------- END OF CUSTOMIZABLE OPTIONS -------------------------
CFLAGS = -g $(sysconfigflags) $(prereleaseflags)
# Disable certain warnings as we don't care for them
CWARNINGS = -Wno-parentheses -Wno-switch-enum
CFLAGS = -g $(sysconfigflags) $(prereleaseflags) $(CWARNINGS)
# Don't worry about these -- for development purposes only.
PURIFY = purify