Message ID | 1454705751-1448-2-git-send-email-nicolas.iooss@m4x.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/policycoreutils/sepolicy/Makefile b/policycoreutils/sepolicy/Makefile index 45edb0c2a499..099a8a057fe1 100644 --- a/policycoreutils/sepolicy/Makefile +++ b/policycoreutils/sepolicy/Makefile @@ -11,7 +11,7 @@ MANDIR ?= $(PREFIX)/share/man LOCALEDIR ?= /usr/share/locale BASHCOMPLETIONDIR ?= $(DESTDIR)/usr/share/bash-completion/completions SHAREDIR ?= $(PREFIX)/share/sandbox -override CFLAGS = -I$(PREFIX)/include -DPACKAGE="policycoreutils" -Wall -Werror -Wextra -W -DSHARED -shared +override CFLAGS += -I$(PREFIX)/include -DPACKAGE="policycoreutils" -Wall -Werror -Wextra -W -DSHARED -shared BASHCOMPLETIONS=sepolicy-bash-completion.sh
sepolicy Makefile overwrites CFLAGS value, which prevents compiling its Python module with custom compilation flags. Modify it to append flags to CFLAGS instead, like other policycoreutils programs do. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> --- policycoreutils/sepolicy/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)