mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 16:00:07 +01:00
build: add -Wformat-security to the default warning flags
This commit is contained in:
parent
a9fe0d3a34
commit
ece92fe67a
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
|
|||
CFLAGS="-Wall -std=gnu89 $CFLAGS"
|
||||
|
||||
for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \
|
||||
-Wdeclaration-after-statement \
|
||||
-Wdeclaration-after-statement -Wformat-security \
|
||||
-Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \
|
||||
-fno-strict-aliasing -Wno-unused-but-set-variable \
|
||||
-Wundef -Wimplicit-function-declaration \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue