mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Stricter compilation flags
Use a little stricter compilation flags, in particular -Wall and treat implicit function declarations as errors. Signed-off-by: Simo Sorce <ssorce@redhat.com>
This commit is contained in:
@@ -4,6 +4,14 @@ AUTOMAKE_OPTIONS = 1.7
|
||||
|
||||
NULL =
|
||||
|
||||
AM_CFLAGS = $(NULL)
|
||||
if HAVE_GCC
|
||||
AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
|
||||
-Wcast-align -Werror-implicit-function-declaration \
|
||||
$(NULL)
|
||||
endif
|
||||
export AM_CFLAGS
|
||||
|
||||
SUBDIRS = \
|
||||
ipa-kpasswd \
|
||||
ipa-slapi-plugins \
|
||||
|
||||
Reference in New Issue
Block a user