2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 14:25:52 +00:00

binutils: add -Wformat to fix compiler warning

The warning is/was:

cc1: warning: '-Wformat-security' ignored without '-Wformat' [-Wformat-security]
This commit is contained in:
Christian Boltz
2020-05-21 17:54:24 +02:00
parent 4b79a58c25
commit 91781aecde

View File

@@ -24,7 +24,7 @@ LOCALEDIR=/usr/share/locale
MANPAGES=aa-enabled.1 aa-exec.1 aa-status.8 MANPAGES=aa-enabled.1 aa-exec.1 aa-status.8
WARNINGS = -Wall WARNINGS = -Wall
EXTRA_WARNINGS = -Wsign-compare -Wmissing-field-initializers -Wformat-security -Wunused-parameter EXTRA_WARNINGS = -Wsign-compare -Wmissing-field-initializers -Wformat -Wformat-security -Wunused-parameter
CPP_WARNINGS = CPP_WARNINGS =
ifndef CFLAGS ifndef CFLAGS
CFLAGS = -g -O2 -pipe CFLAGS = -g -O2 -pipe