mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add stricter default CFLAGS to Makefile.
https://fedorahosted.org/freeipa/ticket/3896
This commit is contained in:
committed by
Petr Viktorin
parent
75dadc1d8f
commit
8bfa79289a
3
Makefile
3
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; \
|
||||
|
||||
Reference in New Issue
Block a user