mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Adding printf format warning flags to makefiles
Add printf format warning flags that are supported by GCC 3.0 or later to the makefiles Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
# To compile with PKCS11: add "-lpkcs11-helper" to LDFLAGS
|
||||
|
||||
CFLAGS ?= -O2
|
||||
WARNING_CFLAGS ?= -Wall -Wextra
|
||||
WARNING_CFLAGS ?= -Wall -Wextra -Wformat=2 -Wno-format-nonliteral
|
||||
LDFLAGS ?=
|
||||
|
||||
# Include public header files from ../include, test-specific header files
|
||||
|
Reference in New Issue
Block a user