]> sigrok.org Git - libsigrokflow.git/commitdiff
configure.ac: Add -Wformat-security to the default flags.
authorUwe Hermann <redacted>
Tue, 8 Jan 2019 21:48:07 +0000 (22:48 +0100)
committerUwe Hermann <redacted>
Tue, 8 Jan 2019 23:09:36 +0000 (00:09 +0100)
configure.ac

index 687e1441fc3788146d04bf1da05acb730666dc39..e637b683add06f362dbd1cf76abc06083532ae6c 100644 (file)
@@ -74,7 +74,7 @@ SR_ARG_OPT_PKG([libsigrokcxx], [LIBSIGROKCXX], , [libsigrokcxx >= 0.5.1])
 SR_ARG_OPT_PKG([libsigrokdecode], [LIBSIGROKDECODE], , [libsigrokdecode >= 0.5.1])
 
 AC_LANG([C++])
-SR_ARG_ENABLE_WARNINGS([SRF_WXXFLAGS], [-Wall], [-Wall -Wextra])
+SR_ARG_ENABLE_WARNINGS([SRF_WXXFLAGS], [-Wall], [-Wall -Wextra -Wformat-security])
 
 # Check if the C++ compiler supports the C++11 standard.
 AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory])