Add stricter default CFLAGS to Makefile.

https://fedorahosted.org/freeipa/ticket/3896
This commit is contained in:
Jan Cholasta
2013-12-04 18:42:36 +01:00
committed by Petr Viktorin
parent 75dadc1d8f
commit 8bfa79289a

View File

@@ -52,6 +52,9 @@ endif
PYTHON ?= $(shell rpm -E %__python || echo /usr/bin/python)
CFLAGS := -g -O2 -Werror -Wall -Wextra -Wformat-security -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers $(CFLAGS)
export CFLAGS
all: bootstrap-autogen server tests
@for subdir in $(SUBDIRS); do \
(cd $$subdir && $(MAKE) $@) || exit 1; \