mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
build: Enable -Wformat -Wformat-security compiler warnings
This commit is contained in:
parent
5e31b194e2
commit
18b4f8b359
@ -22,6 +22,7 @@ AC_DEFUN([COMPILER_FLAGS], [
|
||||
CFLAGS+=" -Wdeclaration-after-statement"
|
||||
CFLAGS+=" -Wmissing-declarations"
|
||||
CFLAGS+=" -Wredundant-decls"
|
||||
CFLAGS+=" -Wformat -Wformat-security"
|
||||
if ( $CC -v 2>/dev/null | grep "gcc version" ); then
|
||||
CFLAGS+=" -Wcast-align"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user