* src/Makefile.am: add AM_CFLAGS, AM_CXXFLAGS with strict warnings

(but no -Werror as we don't want to break builds if some compiler other than
  mine barfs)
This commit is contained in:
Dirk-Jan C. Binnema 2010-02-02 21:52:59 +02:00
parent 63175c5c58
commit 529c5b84db
1 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,12 @@ endif
INCLUDES=$(XAPIAN_CXXFLAGS) $(GMIME_CFLAGS) $(GLIB_CFLAGS)
# don't use -Werror, as it might break on other compilers
# use -Wno-unused-parameters, because some callbacks may not
# really need all the params they get
AM_CFLAGS=-Wall -Wextra -Wno-unused-parameter
AM_CXXFLAGS=-Wall -Wextra -Wno-unused-parameter
bin_PROGRAMS= \
mu