summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2013-12-04 18:42:36 +0100
committerPetr Viktorin <pviktori@redhat.com>2013-12-06 14:44:40 +0100
commit8bfa79289a7895896554349ae4b3a4f3d1380041 (patch)
treefc418b9dafb340450783e02b8c7ac4bd94bc8c6e /Makefile
parent75dadc1d8ffc3ac84c4b1988c266ef60de1a6cfe (diff)
downloadfreeipa-8bfa79289a7895896554349ae4b3a4f3d1380041.tar.gz
freeipa-8bfa79289a7895896554349ae4b3a4f3d1380041.tar.xz
freeipa-8bfa79289a7895896554349ae4b3a4f3d1380041.zip
Add stricter default CFLAGS to Makefile.
https://fedorahosted.org/freeipa/ticket/3896
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0664ddd8e..a7226341e 100644
--- a/Makefile
+++ b/Makefile
@@ -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; \